From 7fb21ac00ddf671f5c90abcfbdced959f2af221b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 6 Nov 2008 10:04:26 -0800 Subject: [PATCH] Fix #1235 (Guardian feed fails to download in 0.4.102) --- src/calibre/web/fetch/simple.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/web/fetch/simple.py b/src/calibre/web/fetch/simple.py index c220e8390f..6656ae5039 100644 --- a/src/calibre/web/fetch/simple.py +++ b/src/calibre/web/fetch/simple.py @@ -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