From 3f9758306788af2e70c5b9b42eb9fed50743c00c Mon Sep 17 00:00:00 2001 From: bobbysteel Date: Wed, 5 Jul 2017 22:51:00 +0100 Subject: [PATCH] Remove site boilerplate --- recipes/politico.recipe | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/politico.recipe b/recipes/politico.recipe index 024021a4ae..de54e419b0 100644 --- a/recipes/politico.recipe +++ b/recipes/politico.recipe @@ -35,6 +35,10 @@ class Politico(BasicNewsRecipe): html2epub_options = 'publisher="' + publisher + '"\ncomments="' + \ description + '"\ntags="' + category + '"\nlinearize_tables=True' + keep_only_tags = [ + dict(name=['article']), + ] + remove_tags = [ dict(name=['notags', 'embed', 'object', 'link', 'img']), ]