feedparser
feedparser copied to clipboard
Parsed not exists rss, feedparser is stuck
Example rss: http://www.atilim.edu.tr/site/rss
>>> import feedparser
>>> url = 'http://www.atilim.edu.tr/site/rss'
>>> result = feedparser.parse(url)
### Waiting
Solution: https://stackoverflow.com/questions/9772691/feedparser-with-timeout
This will become obsolete in the future because Kurt want to remove the HTTP part of the code. Feedparser should not be responsible for receiving data from any remote server.
So in future version you will get() (download) the data by yourself and after it hand it over to Feedparser for parsing.
Considering how its been nearly 4 years since since the last comment was made, are there any plans to change this behavior soon (where soon is in the next few months)?
This has been introduced recently and will go out in feedparser 7. There are several big-ticket items that need to be addressed before feedparser 7 is released, however.
In the meantime, it should still be possible for others to download the feed themselves using the requests module and pass the results in to feedparser for parsing.