mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d693cb46fe
commit
436b67b89c
@ -55,8 +55,8 @@ class TheHindu(BasicNewsRecipe):
|
||||
source.extract()
|
||||
except Exception:
|
||||
pass
|
||||
for img in soup.findAll(attrs={'data-original': True}):
|
||||
img['src'] = img['data-original']
|
||||
# for img in soup.findAll(attrs={'data-original': True}):
|
||||
# img['src'] = img['data-original']
|
||||
# Place intro beneath the title, skip duplicates
|
||||
try:
|
||||
soup.h1.insert_after(soup.find('h2', attrs={'class': 'intro'}))
|
||||
|
Loading…
x
Reference in New Issue
Block a user