Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not use curl to get content of zite #1862

Closed
tangdou1 opened this issue Jan 18, 2019 · 2 comments
Closed

Can not use curl to get content of zite #1862

tangdou1 opened this issue Jan 18, 2019 · 2 comments

Comments

@tangdou1
Copy link
Contributor

tangdou1 commented Jan 18, 2019

Show

  <h1>Forbidden</h1>
 <h2>Invalid Accept header to load wrapper</h3>
@blurHY
Copy link
Contributor

blurHY commented Jan 18, 2019

            requests.get("http:https://"+config.ZeroNetAddr,
                         headers={"ACCEPT": "text/html"})

Try to add that

@tangdou1
Copy link
Contributor Author

Ok I found solution in
#752

thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants