From 3d117adaee59c2e5661b1d211334ac01523a25e8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 26 Dec 2020 09:47:55 +0530 Subject: [PATCH] =?UTF-8?q?El=20Diario=20by=20Dirk=20G=C3=B3mez?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1909331 [Add recipe for eldiario.es](https://bugs.launchpad.net/calibre/+bug/1909331) --- recipes/el_diario.recipe | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/el_diario.recipe diff --git a/recipes/el_diario.recipe b/recipes/el_diario.recipe new file mode 100644 index 0000000000..63f392dcb7 --- /dev/null +++ b/recipes/el_diario.recipe @@ -0,0 +1,21 @@ +#!/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/'), + ]