mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Update The Independent
This commit is contained in:
parent
d6f7b55e21
commit
079cbff565
@ -41,10 +41,13 @@ class TheIndependentNew(BasicNewsRecipe):
|
||||
compress_news_images = True
|
||||
|
||||
keep_only_tags = [
|
||||
dict(id=['articleHeader', 'main']),
|
||||
classes('headline sub-headline breadcrumb author publish-date hero-image body-content'),
|
||||
]
|
||||
remove_tags = [
|
||||
classes('inline-related inline-readmore ad-wrapper icon-gallery i-gallery')
|
||||
classes('inline-related inline-readmore ad-wrapper icon-gallery i-gallery article-im-prompt apester-media'
|
||||
' social-share i-amphtml-replaced-content gallery-btn related'),
|
||||
dict(name='amp-live-list'),
|
||||
]
|
||||
remove_attributes = ['style']
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user