Remove site boilerplate

This commit is contained in:
bobbysteel 2017-07-05 22:51:00 +01:00 committed by GitHub
parent 1572ca42a7
commit 3f97583067

View File

@ -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']),
]