From 84542fa73ed987dd246b691070e548d5c73f29ea Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 5 Feb 2013 14:02:17 +0530 Subject: [PATCH] Update fluter.de --- recipes/fluter_de.recipe | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/recipes/fluter_de.recipe b/recipes/fluter_de.recipe index 1f8576cf81..18ea8e703e 100644 --- a/recipes/fluter_de.recipe +++ b/recipes/fluter_de.recipe @@ -14,26 +14,17 @@ class AdvancedUserRecipe1313693926(BasicNewsRecipe): language = 'de' encoding = 'UTF-8' - __author__ = 'Armin Geller' # 2011-08-19 + __author__ = 'Armin Geller' # 2013-02-05 V3 oldest_article = 7 max_articles_per_feed = 50 - - remove_tags = [ - dict(name='div', attrs={'id':["comments"]}), - dict(attrs={'class':['commentlink']}), - ] - - - keep_only_tags = [ - dict(name='div', attrs={'class':["grid_8 articleText"]}), - dict(name='div', attrs={'class':["articleTextInnerText"]}), - ] - feeds = [ (u'Inhalt:', u'http://www.fluter.de/de/?tpl=907'), ] extra_css = '.cs_img {margin-right: 10pt;}' + def print_version(self, url): + return url + '?tpl=1260' +