SchwarzerPfeil by tastytea

This commit is contained in:
Kovid Goyal 2020-12-22 18:16:33 +05:30
commit b2c5dfd158
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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"