Update The Independent

This commit is contained in:
Kovid Goyal 2020-08-31 09:16:16 +05:30
parent d6f7b55e21
commit 079cbff565
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -41,10 +41,13 @@ class TheIndependentNew(BasicNewsRecipe):
compress_news_images = True compress_news_images = True
keep_only_tags = [ keep_only_tags = [
dict(id=['articleHeader', 'main']),
classes('headline sub-headline breadcrumb author publish-date hero-image body-content'), classes('headline sub-headline breadcrumb author publish-date hero-image body-content'),
] ]
remove_tags = [ 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'] remove_attributes = ['style']