mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
ZackZack.at by Dirk Gomez
Fixes #1921346 [Add recipe for zackzack.at](https://bugs.launchpad.net/calibre/+bug/1921346)
This commit is contained in:
parent
d344114f1e
commit
530ca249b5
27
recipes/zackzack.recipe
Executable file
27
recipes/zackzack.recipe
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/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 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/')]
|
Loading…
x
Reference in New Issue
Block a user