mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'patch-7' of https://github.com/a10kiloham/calibre
This commit is contained in:
commit
b2b353a680
@ -87,12 +87,9 @@ class TimesOnline(BasicNewsRecipe):
|
|||||||
return br
|
return br
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
{'attrs': {'class': lambda x: x and 'is-hidden' in x}},
|
classes('is-hidden Toolbar Tooltip Topics Comments u-hide RelatedLinks ArticlePager Media-caption'),
|
||||||
{'attrs': {'class': lambda x: x and 'Toolbar' in x}},
|
|
||||||
{'attrs': {'class': lambda x: x and 'Tooltip' in x}},
|
|
||||||
{'attrs': {'class': lambda x: x and 'Topics' in x}},
|
|
||||||
{'name': ['object', 'link', 'iframe', 'base', 'meta', 'script']},
|
{'name': ['object', 'link', 'iframe', 'base', 'meta', 'script']},
|
||||||
{'attrs': {'class': ['u-hide', 'RelatedLinks', 'Comments Article-container','ArticlePager','Media-caption']}}]
|
]
|
||||||
|
|
||||||
remove_attributes = ['lang']
|
remove_attributes = ['lang']
|
||||||
keep_only_tags = [{
|
keep_only_tags = [{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user