Skip to content

Commit

Permalink
Update The New York Times Book Review
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed May 23, 2018
1 parent 49c777a commit 93f7310
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/nytimesbook.recipe
Expand Up @@ -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'),
]

Expand Down

0 comments on commit 93f7310

Please sign in to comment.