mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
470e4fe566
commit
efd8ca3c3f
@ -7,9 +7,6 @@ __copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
|
|||||||
politico.com
|
politico.com
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import re
|
|
||||||
import traceback
|
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
@ -38,7 +35,7 @@ class Politico(BasicNewsRecipe):
|
|||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(name=['article']),
|
dict(name=['article']),
|
||||||
]
|
]
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name=['notags', 'embed', 'aside', 'object', 'link', 'img', 'figure']),
|
dict(name=['notags', 'embed', 'aside', 'object', 'link', 'img', 'figure']),
|
||||||
dict(
|
dict(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user