#!/usr/bin/env python
# vim:fileencoding=utf-8
__license__ = 'GPL v3'
__author__ = 'hmeza'
__description__ = 'El Economista - El diario de los lectores influyentes'
__version__ = 'v1.00.000'
__date__ = '27, April 2023'
'''
https://www.elconfidencial.com/
'''


from calibre.web.feeds.news import BasicNewsRecipe


class ElConfidencial(BasicNewsRecipe):
    title = u'elEconomista.es'
    oldest_article = 7.0
    __author__ = 'hmeza'
    description = 'elEconomista.es'
    timefmt = ' [%d %b, %Y]'
    publication_type = 'newspaper'
    language = 'es'
    encoding = 'utf-8'
    no_stylesheets = True
    remove_javascript = True

    feeds = [
        (u'elEconomista economía', u'https://www.eleconomista.es/rss/rss-economia.php'),
        (u'elEconomista gestion', u'https://www.eleconomista.es/rss/rss-gestion.php'),
        (u'elEconomista tecnología', u'https://www.eleconomista.es/rss/rss-category.php?category=tecnologia'),
        (u'Selección elEconomista', u'https://www.eleconomista.es/rss/rss-seleccion-ee.php'),
        (u'Mercados', u'https://www.eleconomista.es/rss/rss-mercados.php'),
    ]
