diff --git a/recipes/guardian.recipe b/recipes/guardian.recipe index 3fd3d48928..59536283ec 100644 --- a/recipes/guardian.recipe +++ b/recipes/guardian.recipe @@ -42,13 +42,13 @@ class Guardian(BasicNewsRecipe): remove_tags = [ dict(attrs={'class': lambda x: x and '--twitter' in x}), dict(attrs={'class': lambda x: x and 'submeta' in x.split()}), - dict(attrs={'data-component': ['share', 'social']}), + dict(attrs={'data-component': ['share', 'social', 'nav', 'nav2']}), dict(attrs={'data-link-name': 'block share'}), dict(attrs={'data-print-layout': 'hide'}), dict(id=['dfp-ad--survey', 'sub-nav-root', 'the-caption', 'bannerandheader']), {'for': 'the-checkbox'}, - dict(href='#maincontent'), - dict(role='navigation'), + dict(href=['#maincontent', '#navigation']), + dict(role=['navigation', 'button']), dict(attrs={'class': lambda x: x and 'inline-expand-image' in x}), dict(name='a', attrs={'aria-label': lambda x: x and 'Share On' in x}), dict(name='a', attrs={'class': lambda x: x and 'social__action js-social__action--top' in x}),