This commit is contained in:
Kovid Goyal 2017-06-09 22:24:50 +05:30
commit 40a8522f32
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,8 @@ class Economist(BasicNewsRecipe):
]
}
),
dict(attrs={
'class': lambda x: x and 'blog-post__siblings-list-aside' in x.split()}),
classes('share-links-header teaser--wrapped latest-updates-panel__container latest-updates-panel__article-link blog-post__section'),
]
keep_only_tags = [dict(name='article', id=lambda x: not x)]

View File

@ -80,6 +80,8 @@ class Economist(BasicNewsRecipe):
]
}
),
dict(attrs={
'class': lambda x: x and 'blog-post__siblings-list-aside' in x.split()}),
classes('share-links-header teaser--wrapped latest-updates-panel__container latest-updates-panel__article-link blog-post__section'),
]
keep_only_tags = [dict(name='article', id=lambda x: not x)]