From 5f8eb3ce73a4520c3246a704ea62cb7628bd1700 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Oct 2018 09:52:59 +0530 Subject: [PATCH] Update How To Geek --- recipes/howtogeek.recipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/howtogeek.recipe b/recipes/howtogeek.recipe index 41a955e0bd..da9cb5e25d 100644 --- a/recipes/howtogeek.recipe +++ b/recipes/howtogeek.recipe @@ -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 = [