mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -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="' + \
|
html2epub_options = 'publisher="' + publisher + '"\ncomments="' + \
|
||||||
description + '"\ntags="' + category + '"\nlinearize_tables=True'
|
description + '"\ntags="' + category + '"\nlinearize_tables=True'
|
||||||
|
|
||||||
|
keep_only_tags = [
|
||||||
|
dict(name=['article']),
|
||||||
|
]
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name=['notags', 'embed', 'object', 'link', 'img']),
|
dict(name=['notags', 'embed', 'object', 'link', 'img']),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user