mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Cleaning further
This commit is contained in:
parent
3f97583067
commit
69a53b6638
@ -40,7 +40,19 @@ class Politico(BasicNewsRecipe):
|
|||||||
]
|
]
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name=['notags', 'embed', 'object', 'link', 'img']),
|
dict(name=['notags', 'embed', 'aside', 'object', 'link', 'img', 'figure']),
|
||||||
|
dict(
|
||||||
|
attrs={'class': lambda x: x and 'story-tools' in x.split()}),
|
||||||
|
dict(
|
||||||
|
attrs={'class': lambda x: x and 'story-continued' in x.split()}),
|
||||||
|
dict(
|
||||||
|
attrs={'class': lambda x: x and 'story-supplement' in x.split()}),
|
||||||
|
dict(
|
||||||
|
attrs={'class': lambda x: x and 'story-share' in x.split()}),
|
||||||
|
dict(
|
||||||
|
attrs={'class': lambda x: x and 'suggested' in x.split()}),
|
||||||
|
dict(
|
||||||
|
attrs={'class': lambda x: x and 'summary' in x.split()}),
|
||||||
]
|
]
|
||||||
|
|
||||||
extra_css = '''
|
extra_css = '''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user