#!/usr/bin/env python

__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 = [('Noticias', 'http://www.granma.cu/feed')]
