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

from calibre.web.feeds.news import BasicNewsRecipe


class ElDiario(BasicNewsRecipe):
    title = '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 = [
        ('Últimas Noticias de eldiario.es', 'https://www.eldiario.es/rss/'),
    ]
