diff --git a/recipes/schwarzerpfeil.recipe b/recipes/schwarzerpfeil.recipe new file mode 100644 index 0000000000..3a47c17912 --- /dev/null +++ b/recipes/schwarzerpfeil.recipe @@ -0,0 +1,29 @@ +# -*- mode: python; -*- +__license__ = 'GPL v3' + +''' +SchwarzerPfeil Calibre recipe. +''' + +from calibre.web.feeds.recipes import BasicNewsRecipe + +class Schwarzerpfeil(BasicNewsRecipe): + title = 'SchwarzerPfeil' + __author__ = 'tastytea' + description = 'Das partizipative Mag von und für die antiautoritäre Bewegung' + publication_type = 'magazine' + language = 'de' + timefmt = ' [%d. %B %Y]' + max_articles_per_feed = 100 + oldest_article = 30 + use_embedded_content = True + no_stylesheets = True + auto_cleanup = False + + feeds = [ + ('Artikel', 'https://schwarzerpfeil.de/feed/'), + ('Kommentare', 'https://schwarzerpfeil.de/comments/feed/') + ] + + def get_cover_url(self): + return "https://schwarzerpfeil.de/wp-content/uploads/2020/09/12-1.png"