diff --git a/recipes/nytimes.recipe b/recipes/nytimes.recipe index f8fe856b68..5857394295 100644 --- a/recipes/nytimes.recipe +++ b/recipes/nytimes.recipe @@ -105,7 +105,7 @@ class NewYorkTimes(BasicNewsRecipe): dict(name='a', href=lambda x: x and '#story-continues-' in x), dict(name='a', href=lambda x: x and '#whats-next' in x), dict(id=lambda x: x and 'sharetools-' in x), - dict(id='newsletter-promo supported-by-ad bottom-wrapper'.split()), + dict(id='newsletter-promo supported-by-ad bottom-wrapper top-wrapper sponsor-wrapper'.split()), classes('story-print-citation supported-by accessibility-ad-header visually-hidden bottom-of-article ad'), dict(attrs={'class': lambda x: x and ( 'SectionBar' in x or 'recirculation' in x or 'ResponsiveAd' in x or 'accessibility-visuallyHidden' in x or 'RelatedCoverage' in x)}), diff --git a/recipes/nytimes_sub.recipe b/recipes/nytimes_sub.recipe index eeb22e6dea..81cd96c7b6 100644 --- a/recipes/nytimes_sub.recipe +++ b/recipes/nytimes_sub.recipe @@ -105,7 +105,7 @@ class NewYorkTimes(BasicNewsRecipe): dict(name='a', href=lambda x: x and '#story-continues-' in x), dict(name='a', href=lambda x: x and '#whats-next' in x), dict(id=lambda x: x and 'sharetools-' in x), - dict(id='newsletter-promo supported-by-ad bottom-wrapper'.split()), + dict(id='newsletter-promo supported-by-ad bottom-wrapper top-wrapper sponsor-wrapper'.split()), classes('story-print-citation supported-by accessibility-ad-header visually-hidden bottom-of-article ad'), dict(attrs={'class': lambda x: x and ( 'SectionBar' in x or 'recirculation' in x or 'ResponsiveAd' in x or 'accessibility-visuallyHidden' in x or 'RelatedCoverage' in x)}),