Fix #1713 (Problem with recipe for London Review of Books)

This commit is contained in:
Kovid Goyal 2009-01-28 09:32:42 -08:00
parent 38925cc86c
commit c7a16c161c

View File

@ -32,3 +32,8 @@ class LondonReviewOfBooks(BasicNewsRecipe):
def print_version(self, url): def print_version(self, url):
main, split, rest = url.rpartition('/') main, split, rest = url.rpartition('/')
return main + '/print/' + rest return main + '/print/' + rest
def postprocess_html(self, soup, first_fetch):
for t in soup.findAll(['table', 'tr', 'td']):
t.name = 'div'
return soup