mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
29 lines
800 B
Plaintext
29 lines
800 B
Plaintext
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
|
|
from __future__ import unicode_literals
|
|
from calibre.web.feeds.recipes import BasicNewsRecipe
|
|
|
|
|
|
class nfpkRecipe(BasicNewsRecipe):
|
|
__author__ = 'bubak'
|
|
title = u'Nadační fond proti korupci'
|
|
publisher = u''
|
|
description = 'nfpk.cz'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 20
|
|
use_embedded_content = False
|
|
remove_empty_feeds = True
|
|
|
|
feeds = [
|
|
(u'Aktuality', u'http://feeds.feedburner.com/nfpk')
|
|
]
|
|
|
|
language = 'cs'
|
|
cover_url = 'http://www.nfpk.cz/_templates/nfpk/_images/logo.gif'
|
|
remove_javascript = True
|
|
no_stylesheets = True
|
|
extra_css = """
|
|
"""
|
|
|
|
remove_attributes = []
|
|
keep_only_tags = [dict(name='div', attrs={'id': 'content'})]
|