Update LifeHacker

This commit is contained in:
Kovid Goyal 2019-11-16 09:12:27 +05:30
parent 826d51a63f
commit 2bf7c56841
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -26,11 +26,13 @@ class LifeHacker(BasicNewsRecipe):
remove_empty_feeds = True
keep_only_tags = [
classes('headline author post-content'),
dict(name='h1'),
classes('headline author post-content js_post-content'),
]
remove_tags = [
classes('commerce-inset gmg-avatar js_ad-dynamic'),
classes('magnifier commerce-inset gmg-avatar js_ad-dynamic instream-native-video inset--story'),
dict(id='lifehacker-avatar-svg'),
dict(name='aside'),
]
remove_tags_after = classes('post-content')