mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-25 03:35:24 +01:00
Fix New York Review of Books
This commit is contained in:
parent
07eae119c7
commit
3b3a3d888b
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
|
|||
no_javascript = True
|
||||
needs_subscription = True
|
||||
|
||||
keep_only_tags = [dict(id='article-body')]
|
||||
keep_only_tags = [dict(id=['article-body','page-title'])]
|
||||
remove_tags = [dict(attrs={'class':['article-tools', 'article-links',
|
||||
'center advertisement']})]
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
|
|||
no_stylesheets = True
|
||||
no_javascript = True
|
||||
|
||||
keep_only_tags = [dict(id='article-body')]
|
||||
keep_only_tags = [dict(id=['article-body', 'page-title'])]
|
||||
remove_tags = [dict(attrs={'class':['article-tools', 'article-links',
|
||||
'center advertisement']})]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue