jsumners / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

If network is very bad , feedparser.parse() will wait too long time #406

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the code will stop at 
return opener.open(request) #line 3005

Original issue reported on code.google.com by z.warrio...@gmail.com on 17 Jun 2013 at 11:50

GoogleCodeExporter commented 9 years ago
The topic of a timeout has been discussed previously. Until support is dropped 
for Python 2.4 and 2.5 I won't consider adding support for this.

Depending on what version of Python you're using you may be able to use a 
support library, such as `requests`, to fetch the feed with a timeout set, then 
pass that to feedparser.

Original comment by kurtmckee on 10 Jul 2014 at 1:58

GoogleCodeExporter commented 9 years ago
It's   a year ago ...
 O M G ...
But still Thanks~

Original comment by z.warrio...@gmail.com on 10 Jul 2014 at 3:12