mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix #948091 (Updated recipe for La Jornada)
This commit is contained in:
parent
cc0053b42f
commit
af9753bc50
@ -1,5 +1,5 @@
|
|||||||
__license__ = 'GPL v3'
|
__license__ = 'GPL v3'
|
||||||
__copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>, Rogelio Domínguez <rogelio.dominguez@gmail.com>'
|
__copyright__ = '2010-2012, Darko Miletic <darko.miletic at gmail.com>, Rogelio Domínguez <rogelio.dominguez@gmail.com>'
|
||||||
'''
|
'''
|
||||||
www.jornada.unam.mx
|
www.jornada.unam.mx
|
||||||
'''
|
'''
|
||||||
@ -86,6 +86,6 @@ class LaJornada_mx(BasicNewsRecipe):
|
|||||||
return soup
|
return soup
|
||||||
|
|
||||||
def get_article_url(self, article):
|
def get_article_url(self, article):
|
||||||
rurl = article.get('link', None)
|
rurl = article.get('guid', None)
|
||||||
return rurl.rpartition('&partner=')[0]
|
return rurl.rpartition('&partner=')[0]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user