This commit is contained in:
Kovid Goyal 2017-02-02 19:34:27 +05:30
commit b6a7303670

View File

@ -231,7 +231,8 @@ class NYTimes(BasicNewsRecipe):
re.compile('^module'), re.compile('^module'),
re.compile('commentCount'), re.compile('commentCount'),
'lede-container', 'lede-container',
'credit' 'credit',
'caption-video'
]}), ]}),
dict( dict(
attrs={'class': lambda x: x and 'related-coverage-marginalia' in x.split()}), attrs={'class': lambda x: x and 'related-coverage-marginalia' in x.split()}),
@ -255,6 +256,7 @@ class NYTimes(BasicNewsRecipe):
dict(name='div', attrs={'class': re.compile('nocontent')}), dict(name='div', attrs={'class': re.compile('nocontent')}),
dict(name='div', attrs={'id': re.compile('respond')}), # open dict(name='div', attrs={'id': re.compile('respond')}), # open
dict(name='div', attrs={'class': re.compile('entry-tags')}), # pogue dict(name='div', attrs={'class': re.compile('entry-tags')}), # pogue
dict(name='h4', attrs={'class': 'headline'}),
dict(id=[ dict(id=[
'adxLeaderboard', 'adxLeaderboard',
'pagelinks', 'pagelinks',