mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
33 lines
935 B
Python
Executable File
33 lines
935 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 = 20
|
|
use_embedded_content = False
|
|
__author__ = 'Dirk Gomez'
|
|
language = 'de_AT'
|
|
|
|
no_stylesheets = True
|
|
|
|
keep_only_tags = [
|
|
dict(name='div', attrs={'class': 'tdb_title'}),
|
|
dict(name='div', attrs={'class': 'tdb_single_author'}),
|
|
dict(name='div', attrs={'class': 'tdb_single_date'}),
|
|
dict(name='div', attrs={'class': 'tdb_single_content'}),
|
|
]
|
|
|
|
remove_tags = [
|
|
dict(name='figure', attrs={'class': 'wp-block-image'}),
|
|
]
|
|
|
|
feeds = [(u'Zack Zack',
|
|
u'https://zackzack.at/feed/')]
|