From d3e77ce0d47634a89279452f6f3c4aaa69bb3712 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 10 Jan 2010 16:14:18 -0700 Subject: [PATCH] version 0.6.33 --- resources/recipes/economist.recipe | 2 +- resources/recipes/economist_free.recipe | 2 +- src/calibre/constants.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/recipes/economist.recipe b/resources/recipes/economist.recipe index b72e7cbc93..d21b5bc51e 100644 --- a/resources/recipes/economist.recipe +++ b/resources/recipes/economist.recipe @@ -106,7 +106,7 @@ class Economist(BasicNewsRecipe): return ans 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: yield x diff --git a/resources/recipes/economist_free.recipe b/resources/recipes/economist_free.recipe index c8df350c51..217b033b81 100644 --- a/resources/recipes/economist_free.recipe +++ b/resources/recipes/economist_free.recipe @@ -107,7 +107,7 @@ class Economist(BasicNewsRecipe): self.log.debug(tb) 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: yield x diff --git a/src/calibre/constants.py b/src/calibre/constants.py index 8e09fae40b..fefadad4eb 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -2,7 +2,7 @@ __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __appname__ = 'calibre' -__version__ = '0.6.32' +__version__ = '0.6.33' __author__ = "Kovid Goyal " import re