From 8fba5fa3309b07c16db1423ee95bfb8283c2daf8 Mon Sep 17 00:00:00 2001 From: Hugo Meza Date: Fri, 28 Apr 2023 00:55:15 +0200 Subject: [PATCH] New recipes: El Confidencial (es) and elEconomista.es (es) --- recipes/el_confidencial.recipe | 30 +++++++++++++++++++++++++++++ recipes/el_economista.recipe | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 recipes/el_confidencial.recipe create mode 100644 recipes/el_economista.recipe diff --git a/recipes/el_confidencial.recipe b/recipes/el_confidencial.recipe new file mode 100644 index 0000000000..75a1ccb164 --- /dev/null +++ b/recipes/el_confidencial.recipe @@ -0,0 +1,30 @@ +#!/usr/bin/env python +# vim:fileencoding=utf-8 +__license__ = 'GPL v3' +__author__ = 'hmeza' +__description__ = 'El Confidencial - 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'El Confidencial' + oldest_article = 7.0 + __author__ = 'hmeza' + description = 'El Confidencial - El diario de los lectores influyentes' + timefmt = ' [%d %b, %Y]' + publication_type = 'newspaper' + language = 'es' + encoding = 'utf-8' + no_stylesheets = True + remove_javascript = True + + feeds = [ + (u'España', u'https://www.elconfidencial.com/rss/'), + ] diff --git a/recipes/el_economista.recipe b/recipes/el_economista.recipe new file mode 100644 index 0000000000..1dc0bf97c5 --- /dev/null +++ b/recipes/el_economista.recipe @@ -0,0 +1,35 @@ +#!/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'), + (u'Mercados', u'https://www.eleconomista.es/rss/rss-mercados.php'), + ]