From cd9412db5189777c4424c2c2eb2947457ea2f231 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 3 Jan 2012 08:04:27 +0530 Subject: [PATCH] Fix Tagesspiegel --- recipes/tagesspiegel.recipe | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/recipes/tagesspiegel.recipe b/recipes/tagesspiegel.recipe index b71a34aa85..3728f8306c 100644 --- a/recipes/tagesspiegel.recipe +++ b/recipes/tagesspiegel.recipe @@ -33,17 +33,7 @@ class TagesspiegelRSS(BasicNewsRecipe): no_javascript = True remove_empty_feeds = True encoding = 'utf-8' - - keep_only_tags = dict(name='div', attrs={'class':["hcf-article"]}) - remove_tags = [ - dict(name='link'), dict(name='iframe'),dict(name='style'),dict(name='meta'),dict(name='button'), - dict(name='div', attrs={'class':["hcf-jump-to-comments","hcf-clear","hcf-magnify hcf-media-control", - "hcf-socials-widgets hcf-socials-top","hcf-socials-widgets hcf-socials-bottom"] }), - dict(name='span', attrs={'class':["hcf-mainsearch",] }), - dict(name='ul', attrs={'class':["hcf-tools"]}), - dict(name='ul', attrs={'class': re.compile('hcf-services')}) - ] - + auto_cleanup = True def parse_index(self): soup = self.index_to_soup('http://www.tagesspiegel.de/zeitung/')