remove video captions

see 4a59c7737d
This commit is contained in:
jfhutson 2017-02-02 07:11:45 -06:00 committed by GitHub
parent cf248c225a
commit abd51bb197

View File

@ -231,7 +231,8 @@ class NYTimes(BasicNewsRecipe):
re.compile('^module'),
re.compile('commentCount'),
'lede-container',
'credit'
'credit',
'caption-video'
]}),
dict(
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={'id': re.compile('respond')}), # open
dict(name='div', attrs={'class': re.compile('entry-tags')}), # pogue
dict(name='h4', attrs={'class': 'headline'}),
dict(id=[
'adxLeaderboard',
'pagelinks',