Add recipe “SchwarzerPfeil”.

This commit is contained in:
tastytea 2020-12-22 13:08:31 +01:00
parent c6d9bce9e8
commit fb718271ea
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07

View File

@ -0,0 +1,28 @@
# -*- mode: python; -*-
__license__ = 'GPL v3'
'''
SchwarzerPfeil Calibre recipe.
'''
from calibre.web.feeds.recipes import BasicNewsRecipe
class Schwarzerpfeil(BasicNewsRecipe):
title = 'SchwarzerPfeil'
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"