From 530ca249b56f2013597c50397dd3827bb76afbd7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 25 Mar 2021 14:21:59 +0530 Subject: [PATCH] ZackZack.at by Dirk Gomez Fixes #1921346 [Add recipe for zackzack.at](https://bugs.launchpad.net/calibre/+bug/1921346) --- recipes/zackzack.recipe | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 recipes/zackzack.recipe diff --git a/recipes/zackzack.recipe b/recipes/zackzack.recipe new file mode 100755 index 0000000000..bf16451c34 --- /dev/null +++ b/recipes/zackzack.recipe @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# vim:fileencoding=utf-8 +# License: GPLv3 Copyright: 2016, Kovid Goyal + +from __future__ import absolute_import, division, print_function, unicode_literals + +from calibre.web.feeds.news import BasicNewsRecipe + + +class Real_world_economics_review(BasicNewsRecipe): + title = 'ZackZack.at' + oldest_article = 7 + max_articles_per_feed = 100 + use_embedded_content = False + __author__ = 'Dirk Gomez' + language = 'de_AT' + + no_stylesheets = True + + keep_only_tags = [ + dict(name='h1', attrs={'class': 'av-special-heading-tag'}), + dict(name='div', attrs={'class': 'av-subheading'}), + dict(name='div', attrs={'class': 'avia_textblock'}), + ] + + feeds = [(u'Zack Zack', + u'https://zackzack.at/feed/')]