mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-04 00:01:56 -04:00
...
This commit is contained in:
parent
b716a00da5
commit
ea2d3f9edd
@ -136,7 +136,7 @@ class IndianExpress(BasicNewsRecipe):
|
||||
return citem['content'].replace('300', '600')
|
||||
|
||||
def preprocess_html(self, soup):
|
||||
if h2 := (soup.find(attrs={"itemprop": "description"}) or soup.find(**classes("synopsis")))::
|
||||
if h2 := (soup.find(attrs={"itemprop": "description"}) or soup.find(**classes("synopsis"))):
|
||||
h2.name = 'p'
|
||||
h2['id'] = 'sub-d'
|
||||
for span in soup.findAll(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user