mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-07 11:55:34 +01:00
Update The Times
Merge branch 'patch-13' of https://github.com/bobbysteel/calibre
This commit is contained in:
commit
5cf39416dd
1 changed files with 2 additions and 2 deletions
|
|
@ -80,8 +80,8 @@ def get_browser(self):
|
|||
]
|
||||
remove_attributes = ['lang']
|
||||
keep_only_tags = [
|
||||
dict(attrs={'class': 'Article Article--default'}
|
||||
), dict(attrs={'class': 'f-author'}), dict(attrs={'id': 'bodycopy'})
|
||||
{'attrs': {'id': ['article-main','bodycopy']}},
|
||||
{'attrs': {'class': ['Article Article--default','f-author']}}
|
||||
]
|
||||
remove_tags_after = dict(attrs={'class': 'Article-content'})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue