From 079cbff5654d0a153f323788194e9c187772cfcc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 31 Aug 2020 09:16:16 +0530 Subject: [PATCH] Update The Independent --- recipes/independent.recipe | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/independent.recipe b/recipes/independent.recipe index fc526ad60b..0073053681 100644 --- a/recipes/independent.recipe +++ b/recipes/independent.recipe @@ -41,10 +41,13 @@ class TheIndependentNew(BasicNewsRecipe): compress_news_images = True keep_only_tags = [ + dict(id=['articleHeader', 'main']), classes('headline sub-headline breadcrumb author publish-date hero-image body-content'), ] remove_tags = [ - classes('inline-related inline-readmore ad-wrapper icon-gallery i-gallery') + classes('inline-related inline-readmore ad-wrapper icon-gallery i-gallery article-im-prompt apester-media' + ' social-share i-amphtml-replaced-content gallery-btn related'), + dict(name='amp-live-list'), ] remove_attributes = ['style']