From fdc97e33284d984d4780a65eca798a9b314ee2e0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 24 Aug 2011 09:38:31 -0600 Subject: [PATCH] ... --- recipes/politifact.recipe | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/recipes/politifact.recipe b/recipes/politifact.recipe index 6f5344ae4e..a0f0d786dd 100644 --- a/recipes/politifact.recipe +++ b/recipes/politifact.recipe @@ -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 +