diff --git a/recipes/politico.recipe b/recipes/politico.recipe index de54e419b0..106f3d0ef9 100644 --- a/recipes/politico.recipe +++ b/recipes/politico.recipe @@ -40,7 +40,19 @@ class Politico(BasicNewsRecipe): ] remove_tags = [ - dict(name=['notags', 'embed', 'object', 'link', 'img']), + dict(name=['notags', 'embed', 'aside', 'object', 'link', 'img', 'figure']), + dict( + attrs={'class': lambda x: x and 'story-tools' in x.split()}), + dict( + attrs={'class': lambda x: x and 'story-continued' in x.split()}), + dict( + attrs={'class': lambda x: x and 'story-supplement' in x.split()}), + dict( + attrs={'class': lambda x: x and 'story-share' in x.split()}), + dict( + attrs={'class': lambda x: x and 'suggested' in x.split()}), + dict( + attrs={'class': lambda x: x and 'summary' in x.split()}), ] extra_css = '''