calibre/recipes/granma.recipe
2019-02-20 18:09:02 +05:30

29 lines
776 B
Python

#!/usr/bin/env python2
__license__ = 'GPL v3'
__copyright__ = '2008-2019, Darko Miletic <darko.miletic at gmail.com>'
'''
granma.cu
'''
from calibre.web.feeds.news import BasicNewsRecipe
class Granma(BasicNewsRecipe):
title = 'Diario Granma'
__author__ = 'Darko Miletic'
description = 'Organo oficial del Comite Central del Partido Comunista de Cuba'
publisher = 'Granma'
category = 'news, politics, Cuba'
oldest_article = 2
max_articles_per_feed = 100
no_stylesheets = True
use_embedded_content = False
encoding = 'utf8'
masthead_url = 'http://www.granma.cu/static/img/granma-logo.png'
language = 'es_CU'
auto_cleanup = True
remove_javascript = True
feeds = [(u'Noticias', u'http://www.granma.cu/feed')]