mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Restore cover download for la_jornada.recipe
This commit is contained in:
parent
2395bc85a8
commit
60d1b4199c
@ -13,6 +13,7 @@ try:
|
|||||||
from urllib.parse import urlparse, urlunparse, parse_qs
|
from urllib.parse import urlparse, urlunparse, parse_qs
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from urlparse import urlparse, urlunparse, parse_qs
|
from urlparse import urlparse, urlunparse, parse_qs
|
||||||
|
from calibre import strftime
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
@ -29,6 +30,7 @@ class LaJornada_mx(BasicNewsRecipe):
|
|||||||
use_embedded_content = False
|
use_embedded_content = False
|
||||||
language = 'es_MX'
|
language = 'es_MX'
|
||||||
remove_empty_feeds = True
|
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'
|
masthead_url = 'http://www.jornada.com.mx/v7.0/imagenes/la-jornada-trans.png'
|
||||||
publication_type = 'newspaper'
|
publication_type = 'newspaper'
|
||||||
extra_css = """
|
extra_css = """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user