From 972b551ae1eee2c66f7f649456427d3b25d47c91 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 3 Jan 2012 15:51:18 +0530 Subject: [PATCH] ... --- recipes/tagesspiegel.recipe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/tagesspiegel.recipe b/recipes/tagesspiegel.recipe index 3728f8306c..5af065ce53 100644 --- a/recipes/tagesspiegel.recipe +++ b/recipes/tagesspiegel.recipe @@ -33,7 +33,12 @@ class TagesspiegelRSS(BasicNewsRecipe): no_javascript = True remove_empty_feeds = True encoding = 'utf-8' - auto_cleanup = True + remove_tags = [{'class':'hcf-header'}] + + def print_version(self, url): + url = url.split('/') + url[-1] = 'v_print,%s?p='%url[-1] + return '/'.join(url) def parse_index(self): soup = self.index_to_soup('http://www.tagesspiegel.de/zeitung/')