feedparser icon indicating copy to clipboard operation
feedparser copied to clipboard

Parsed not exists rss, feedparser is stuck

Open f9n opened this issue 8 years ago • 1 comments
trafficstars

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

f9n avatar May 29 '17 21:05 f9n

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.

buhtz avatar Jul 14 '19 20:07 buhtz

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)?

netllama avatar Jun 11 '23 17:06 netllama

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.

kurtmckee avatar Jun 11 '23 18:06 kurtmckee