-
Notifications
You must be signed in to change notification settings - Fork 19
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
Use own User-Agent #44
Labels
Comments
It might be fixed with earthreader/libearth#50. |
Fixed in earthreader/libearth#50 |
|
Why not using crawler to that operation?? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some sites (including https://news.ycombinator.com/) seems to deny http requests having "User-Agent: Python-urllib/.", causes add_feed() fails.
One simple proposal can be setting User-Agent: EarthReader/x.y OR User-Agent: Mozilla/5.0 before making requests.
(This should be applied on libearth.crawl (and any other modules using urllib2.urlopen) as well)
The text was updated successfully, but these errors were encountered: