I am trying to read a rss feed using feedparser. But the program gets stuck when using requests
, feedparser
or urlopen
. The page I am trying to get is here (mangastream.com rss feed)
I can view it in browser or get it using curl in terminal.
>>> import feedparser
>>> feed = feedparser.parse('http://mangastream.com/rss')
It won't get past line 2.
Edit - Could this be an issue with cloudflare server? DoS/bot protection of some sort? But it works in curl. Not behind proxy or anything.
Edit - Somehow it's working but still takes a lot of time (more than 2-3 mins). It works lot faster with curl.