From fe9f96b89a9ed98c129c813010fc6b60c3ff0e26 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 4 Aug 2021 12:10:57 +0530 Subject: [PATCH] Update The Guardian and The Observer --- recipes/guardian.recipe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}),