#!/usr/bin/env python
# vim:fileencoding=utf-8

from calibre.web.feeds.news import BasicNewsRecipe


class ElDiario(BasicNewsRecipe):
    title = u'elDiario.es'
    oldest_article = 7.0
    __author__ = 'Dirk Gómez'
    description = 'elDiario.es - Noticias a pesar de todo'
    timefmt = ' [%d %b, %Y]'
    publication_type = 'newspaper'
    language = 'es'
    encoding = 'utf-8'
    no_stylesheets = True
    remove_javascript = True

    feeds = [
        (u'Últimas Noticias de eldiario.es', u'https://www.eldiario.es/rss/'),
    ]
