calibre/recipes/pro_linux_de.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

17 lines
526 B
Plaintext

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'})]