mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
36c4b70030
commit
fdc97e3328
@ -26,9 +26,4 @@ class PolitiFactCom(BasicNewsRecipe):
|
|||||||
(u'Statements', u'http://www.politifact.com/feeds/statements/truth-o-meter/')
|
(u'Statements', u'http://www.politifact.com/feeds/statements/truth-o-meter/')
|
||||||
]
|
]
|
||||||
|
|
||||||
def preprocess_html(self, soup):
|
|
||||||
for alink in soup.findAll('a'):
|
|
||||||
if alink.string is not None:
|
|
||||||
tstr = alink.string
|
|
||||||
alink.replaceWith(tstr)
|
|
||||||
return soup
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user