This commit is contained in:
Kovid Goyal 2023-04-14 05:59:19 +05:30
commit 131ae4d428
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -10,7 +10,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
class Zackzack_at_review(BasicNewsRecipe): class Zackzack_at_review(BasicNewsRecipe):
title = 'ZackZack.at' title = 'ZackZack.at'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 20
use_embedded_content = False use_embedded_content = False
__author__ = 'Dirk Gomez' __author__ = 'Dirk Gomez'
language = 'de_AT' language = 'de_AT'
@ -18,10 +18,15 @@ class Zackzack_at_review(BasicNewsRecipe):
no_stylesheets = True no_stylesheets = True
keep_only_tags = [ keep_only_tags = [
dict(name='h1', attrs={'class': 'av-special-heading-tag'}), dict(name='div', attrs={'class': 'tdb_title'}),
dict(name='div', attrs={'class': 'av-subheading'}), dict(name='div', attrs={'class': 'tdb_single_author'}),
dict(name='div', attrs={'class': 'avia_textblock'}), 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', feeds = [(u'Zack Zack',
u'https://zackzack.at/feed/')] u'https://zackzack.at/feed/')]