mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/dirkgomez/calibre
This commit is contained in:
commit
131ae4d428
@ -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/')]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user