mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Remove site boilerplate
This commit is contained in:
parent
1572ca42a7
commit
3f97583067
@ -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']),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user