calibre/recipes/zackzack.recipe

28 lines
847 B
Python
Executable File

#!/usr/bin/env python
# vim:fileencoding=utf-8
# License: GPLv3 Copyright: 2016, Kovid Goyal <kovid at kovidgoyal.net>
from __future__ import absolute_import, division, print_function, unicode_literals
from calibre.web.feeds.news import BasicNewsRecipe
class Zackzack_at_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/')]