From 9ed480327fdfb71c77183b8bc1b88fc128e86389 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 15 Mar 2011 11:54:49 -0600 Subject: [PATCH] Pro-linux.de by Bobus --- resources/recipes/pro_linux_de.recipe | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 resources/recipes/pro_linux_de.recipe diff --git a/resources/recipes/pro_linux_de.recipe b/resources/recipes/pro_linux_de.recipe new file mode 100644 index 0000000000..c10c2ec047 --- /dev/null +++ b/resources/recipes/pro_linux_de.recipe @@ -0,0 +1,15 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1295265555(BasicNewsRecipe): + title = u'Pro-Linux.de' + language = 'de' + __author__ = 'Bobus' + oldest_article = 3 + max_articles_per_feed = 100 + + feeds = [(u'Pro-Linux', u'http://www.pro-linux.de/backend/pro-linux.rdf')] + + def print_version(self, url): + return url.replace('/news/1/', '/news/1/print/').replace('/artikel/2/', '/artikel/2/print/') + + remove_tags_after = [dict(name='div', attrs={'class':'print_links'})]