mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
493338f4a0
commit
56d79c597b
@ -48,7 +48,7 @@ class TheWeek(BasicNewsRecipe):
|
|||||||
|
|
||||||
def preprocess_html(self, soup):
|
def preprocess_html(self, soup):
|
||||||
a = soup.find('a')
|
a = soup.find('a')
|
||||||
a.name = 'span'
|
a.name = 'div'
|
||||||
h2 = soup.find('h2')
|
h2 = soup.find('h2')
|
||||||
h2.string = fix_title(h2.string)
|
h2.string = fix_title(h2.string)
|
||||||
return soup
|
return soup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user