mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1713 (Problem with recipe for London Review of Books)
This commit is contained in:
parent
38925cc86c
commit
c7a16c161c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user