mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Update The New York Times Book Review
This commit is contained in:
parent
49c777a941
commit
93f7310100
@ -18,12 +18,12 @@ class NewYorkTimesBookReview(BasicNewsRecipe):
|
||||
encoding = 'utf-8'
|
||||
|
||||
keep_only_tags = [
|
||||
dict(id=['headline', 'story-meta-footer']),
|
||||
dict(itemprop=['associatedMedia', 'articleBody', 'reviewBody']),
|
||||
classes('story-body'),
|
||||
dict(itemprop=['headline', 'author', 'associatedMedia', 'articleBody', 'reviewBody']),
|
||||
classes('story-body StoryBodyCompanionColumn'),
|
||||
]
|
||||
remove_tags = [
|
||||
dict(id=['d-promo-realestate', 'books-update-email-promo']),
|
||||
dict(style=lambda x: x and 'visibility: hidden' in x),
|
||||
classes('skip-to-text-link story-meta-footer-sharetools story-footer-links'),
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user