This commit is contained in:
Kovid Goyal 2011-08-24 09:38:31 -06:00
parent 36c4b70030
commit fdc97e3328

View File

@ -26,9 +26,4 @@ class PolitiFactCom(BasicNewsRecipe):
(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