mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix classes for Comments section not loading
This commit is contained in:
parent
f427882d67
commit
297a2abea2
@ -80,8 +80,8 @@ class TimesOnline(BasicNewsRecipe):
|
|||||||
]
|
]
|
||||||
remove_attributes = ['lang']
|
remove_attributes = ['lang']
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(attrs={'class': 'Article Article--default'}
|
{'attrs': {'id': ['article-main','bodycopy']}},
|
||||||
), dict(attrs={'class': 'f-author'}), dict(attrs={'id': 'bodycopy'})
|
{'attrs': {'class': ['Article Article--default','f-author']}}
|
||||||
]
|
]
|
||||||
remove_tags_after = dict(attrs={'class': 'Article-content'})
|
remove_tags_after = dict(attrs={'class': 'Article-content'})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user