From c7a16c161c42767fbcab1716dedb598594d96eea Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 28 Jan 2009 09:32:42 -0800 Subject: [PATCH] Fix #1713 (Problem with recipe for London Review of Books) --- src/calibre/web/feeds/recipes/recipe_lrb.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/calibre/web/feeds/recipes/recipe_lrb.py b/src/calibre/web/feeds/recipes/recipe_lrb.py index a31e4a32e7..459e3580ce 100644 --- a/src/calibre/web/feeds/recipes/recipe_lrb.py +++ b/src/calibre/web/feeds/recipes/recipe_lrb.py @@ -32,3 +32,8 @@ class LondonReviewOfBooks(BasicNewsRecipe): def print_version(self, url): main, split, rest = url.rpartition('/') return main + '/print/' + rest + + def postprocess_html(self, soup, first_fetch): + for t in soup.findAll(['table', 'tr', 'td']): + t.name = 'div' + return soup