mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update The Guardian and The Observer
This commit is contained in:
parent
3b77377b54
commit
fe9f96b89a
@ -42,13 +42,13 @@ class Guardian(BasicNewsRecipe):
|
|||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(attrs={'class': lambda x: x and '--twitter' in x}),
|
dict(attrs={'class': lambda x: x and '--twitter' in x}),
|
||||||
dict(attrs={'class': lambda x: x and 'submeta' in x.split()}),
|
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-link-name': 'block share'}),
|
||||||
dict(attrs={'data-print-layout': 'hide'}),
|
dict(attrs={'data-print-layout': 'hide'}),
|
||||||
dict(id=['dfp-ad--survey', 'sub-nav-root', 'the-caption', 'bannerandheader']),
|
dict(id=['dfp-ad--survey', 'sub-nav-root', 'the-caption', 'bannerandheader']),
|
||||||
{'for': 'the-checkbox'},
|
{'for': 'the-checkbox'},
|
||||||
dict(href='#maincontent'),
|
dict(href=['#maincontent', '#navigation']),
|
||||||
dict(role='navigation'),
|
dict(role=['navigation', 'button']),
|
||||||
dict(attrs={'class': lambda x: x and 'inline-expand-image' in x}),
|
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={'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}),
|
dict(name='a', attrs={'class': lambda x: x and 'social__action js-social__action--top' in x}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user