mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update New York Review of Books
This commit is contained in:
parent
9688c9fe14
commit
d3ebfefc23
@ -28,7 +28,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
|
||||
keep_only_tags = [
|
||||
dict(name='section', attrs={'class':'article_body'}),
|
||||
dict(name=find_header),
|
||||
dict(name='div', attrs={'class':'for-subscribers-only'}),
|
||||
dict(name='div', attrs={'class':['footnotes', 'for-subscribers-only']}),
|
||||
]
|
||||
|
||||
preprocess_regexps = [(re.compile(r'<head>.*?</head>', re.DOTALL), lambda
|
||||
|
@ -27,7 +27,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
|
||||
keep_only_tags = [
|
||||
dict(name='section', attrs={'class':'article_body'}),
|
||||
dict(name=find_header),
|
||||
dict(name='div', attrs={'class':'for-subscribers-only'}),
|
||||
dict(name='div', attrs={'class':['footnotes', 'for-subscribers-only']}),
|
||||
]
|
||||
|
||||
preprocess_regexps = [(re.compile(r'<head>.*?</head>', re.DOTALL), lambda
|
||||
|
Loading…
x
Reference in New Issue
Block a user