-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
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)