Restore cover download for la_jornada.recipe

This commit is contained in:
Rogelio Domínguez Hernández 2020-10-03 08:29:25 -05:00 committed by GitHub
parent 2395bc85a8
commit 60d1b4199c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = """