Update New York Review of Books

This commit is contained in:
Kovid Goyal 2013-11-06 09:22:59 +05:30
parent 9688c9fe14
commit d3ebfefc23
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
keep_only_tags = [ keep_only_tags = [
dict(name='section', attrs={'class':'article_body'}), dict(name='section', attrs={'class':'article_body'}),
dict(name=find_header), 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 preprocess_regexps = [(re.compile(r'<head>.*?</head>', re.DOTALL), lambda

View File

@ -27,7 +27,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
keep_only_tags = [ keep_only_tags = [
dict(name='section', attrs={'class':'article_body'}), dict(name='section', attrs={'class':'article_body'}),
dict(name=find_header), 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 preprocess_regexps = [(re.compile(r'<head>.*?</head>', re.DOTALL), lambda