Debian Codegraph @

recipes/granma.recipe

raw
1 #!/usr/bin/env python
2
3 __license__ = 'GPL v3'
4 __copyright__ = '2008-2019, Darko Miletic <darko.miletic at gmail.com>'
5 '''
6 granma.cu
7 '''
8
9 from calibre.web.feeds.news import BasicNewsRecipe
10
11
12 class Granma(BasicNewsRecipe):
13 title = 'Diario Granma'
14 __author__ = 'Darko Miletic'
15 description = 'Organo oficial del Comite Central del Partido Comunista de Cuba'
16 publisher = 'Granma'
17 category = 'news, politics, Cuba'
18 oldest_article = 2
19 max_articles_per_feed = 100
20 no_stylesheets = True
21 use_embedded_content = False
22 encoding = 'utf8'
23 masthead_url = 'http://www.granma.cu/static/img/granma-logo.png'
24 language = 'es_CU'
25 auto_cleanup = True
26 remove_javascript = True
27
28 feeds = [('Noticias', 'http://www.granma.cu/feed')]