mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
remove topic widget from economist_free recipe
This commit is contained in:
parent
31ab4bb7af
commit
34a6c44baa
@ -46,7 +46,7 @@ class Economist(BasicNewsRecipe):
|
|||||||
dict(name=['script', 'noscript', 'title', 'iframe', 'cf_floatingcontent']),
|
dict(name=['script', 'noscript', 'title', 'iframe', 'cf_floatingcontent']),
|
||||||
dict(attrs={'class':['dblClkTrk', 'ec-article-info',
|
dict(attrs={'class':['dblClkTrk', 'ec-article-info',
|
||||||
'share_inline_header', 'related-items',
|
'share_inline_header', 'related-items',
|
||||||
'main-content-container']}),
|
'main-content-container', 'ec-topic-widget']}),
|
||||||
{'class': lambda x: x and 'share-links-header' in x},
|
{'class': lambda x: x and 'share-links-header' in x},
|
||||||
]
|
]
|
||||||
keep_only_tags = [dict(name='article')]
|
keep_only_tags = [dict(name='article')]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user