From 60d1b4199c1b304a5cb15f58eb4a99e208e99aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rogelio=20Dom=C3=ADnguez=20Hern=C3=A1ndez?= Date: Sat, 3 Oct 2020 08:29:25 -0500 Subject: [PATCH] Restore cover download for la_jornada.recipe --- recipes/la_jornada.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/la_jornada.recipe b/recipes/la_jornada.recipe index 8ea2c870f8..b0a919ea88 100644 --- a/recipes/la_jornada.recipe +++ b/recipes/la_jornada.recipe @@ -13,6 +13,7 @@ try: from urllib.parse import urlparse, urlunparse, parse_qs except ImportError: from urlparse import urlparse, urlunparse, parse_qs +from calibre import strftime from calibre.web.feeds.news import BasicNewsRecipe @@ -29,6 +30,7 @@ class LaJornada_mx(BasicNewsRecipe): use_embedded_content = False language = 'es_MX' remove_empty_feeds = True + cover_url = strftime("http://www.jornada.unam.mx/%Y/%m/%d/portada.pdf") masthead_url = 'http://www.jornada.com.mx/v7.0/imagenes/la-jornada-trans.png' publication_type = 'newspaper' extra_css = """