Fix #1235 (Guardian feed fails to download in 0.4.102)

This commit is contained in:
Kovid Goyal 2008-11-06 10:04:26 -08:00
parent 09a4a48bbd
commit 7fb21ac00d

View File

@ -245,6 +245,7 @@ class RecursiveFetcher(object, LoggingInterface):
c = 0
for tag in soup.findAll(lambda tag: tag.name.lower()=='img' and tag.has_key('src')):
iurl, ext = tag['src'], os.path.splitext(tag['src'])[1]
ext = ext[:5]
#if not ext:
# self.log_debug('Skipping extensionless image %s', iurl)
# continue