Update How To Geek

This commit is contained in:
Kovid Goyal 2018-10-20 09:52:59 +05:30
parent 91be3ebc2d
commit 5f8eb3ce73
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -13,14 +13,16 @@ class AdvancedUserRecipe1282101454(BasicNewsRecipe):
linearize_tables = True
no_stylesheets = True
remove_javascript = True
use_embedded_content = False
keep_only_tags = [
dict(id='main')
]
remove_tags_after = dict(classes='affiliate-disclosure')
remove_tags = [
dict(name='a', attrs={'target': ['_blank']}),
dict(name='table', attrs={'id': ['articleTable']}),
dict(name='div', attrs={'class': ['feedflare', 'article-share-widgets']}),
dict(name='div', attrs={'class': ['feedflare', 'article-share-widgets', 'related-articles', 'comments']}),
]
feeds = [