version 0.6.33

This commit is contained in:
Kovid Goyal 2010-01-10 16:14:18 -07:00
parent 20fe1609e4
commit d3e77ce0d4
3 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ class Economist(BasicNewsRecipe):
return ans return ans
def eco_find_image_tables(self, soup): def eco_find_image_tables(self, soup):
for x in soup.findAll('table', align='right'): for x in soup.findAll('table', align=['right', 'center']):
if len(x.findAll('font')) in (1,2) and len(x.findAll('img')) == 1: if len(x.findAll('font')) in (1,2) and len(x.findAll('img')) == 1:
yield x yield x

View File

@ -107,7 +107,7 @@ class Economist(BasicNewsRecipe):
self.log.debug(tb) self.log.debug(tb)
def eco_find_image_tables(self, soup): def eco_find_image_tables(self, soup):
for x in soup.findAll('table', align='right'): for x in soup.findAll('table', align=['right', 'center']):
if len(x.findAll('font')) in (1,2) and len(x.findAll('img')) == 1: if len(x.findAll('font')) in (1,2) and len(x.findAll('img')) == 1:
yield x yield x

View File

@ -2,7 +2,7 @@ __license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en' __docformat__ = 'restructuredtext en'
__appname__ = 'calibre' __appname__ = 'calibre'
__version__ = '0.6.32' __version__ = '0.6.33'
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>" __author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
import re import re