From d936faf1c63fc772625e478e3d6faff61029d2cc Mon Sep 17 00:00:00 2001 From: bobbysteel Date: Thu, 15 Jun 2017 12:01:09 +0100 Subject: [PATCH] fix ads & share bullets in some style sections --- recipes/nytimes.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/nytimes.recipe b/recipes/nytimes.recipe index 61c39b0ed3..36a1bbd51e 100644 --- a/recipes/nytimes.recipe +++ b/recipes/nytimes.recipe @@ -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()}),