fix ads & share bullets in some style sections

This commit is contained in:
bobbysteel 2017-06-15 11:58:34 +01:00 committed by GitHub
parent 998d1dbb60
commit f65d7a6975

View File

@ -236,6 +236,8 @@ class NYTimes(BasicNewsRecipe):
dict(
attrs={'class': lambda x: x and 'related-coverage-marginalia' in x.split()}),
dict(attrs={'class': lambda x: x and 'interactive' in x.split()}),
dict(attrs={'class': lambda x: x and 'SectionBarShare' in x.split('-')}),
dict(attrs={'class': lambda x: x and 'ResponsiveAd' in x.split('-')}),
dict(attrs={'class': lambda x: x and 'skip-to-text-link' in x.split()}),
dict(attrs={'class': lambda x: x and 'sharetools' in x.split()}),
dict(attrs={'class': lambda x: x and 'ad' in x.split()}),