calibre/recipes/praguemonitor.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

33 lines
905 B
Plaintext

__license__ = 'GPL v3'
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
'''
praguemonitor.com
'''
from calibre.web.feeds.news import BasicNewsRecipe
class PragueDailyMonitor(BasicNewsRecipe):
title = u'Prague Daily Monitor'
__author__ = u'Darko Miletic'
description = u'Czech news in English'
category = 'news, politics, Czech republic'
publisher = 'Prague Daily Monitor'
oldest_article = 2
max_articles_per_feed = 100
language = 'en'
no_stylesheets = True
use_embedded_content = False
encoding = 'utf-8'
conversion_options = {
'comments': description, 'tags': category, 'language': language, 'publisher': publisher
}
keep_only_tags = [
dict(name='div', attrs={'id': ['content-header', 'content-area']})]
feeds = [
(u'All Articles', u'http://feeds.feedburner.com/PragueDailyMonitor?format=xml')]