You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default User-Agent for the python requests library leads to 403 errors from certain blogs -- some googling indicates this might be a Cloudflare protection against (lazy) web scrapers. Just setting something random like headers={'User-Agent': 'goosepaper/0.0'} for the requests.get() call at rss.py:39 causes those blogs to work better.
The text was updated successfully, but these errors were encountered:
The default User-Agent for the python requests library leads to 403 errors from certain blogs -- some googling indicates this might be a Cloudflare protection against (lazy) web scrapers. Just setting something random like
headers={'User-Agent': 'goosepaper/0.0'}
for therequests.get()
call atrss.py:39
causes those blogs to work better.The text was updated successfully, but these errors were encountered: