mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
522a3c8a09
commit
15b55e7aed
@ -98,7 +98,9 @@ class CanWestPaper(BasicNewsRecipe):
|
|||||||
atag = h1tag.find('a',href=True)
|
atag = h1tag.find('a',href=True)
|
||||||
if not atag:
|
if not atag:
|
||||||
continue
|
continue
|
||||||
url = self.url_prefix+'/news/todays-paper/'+atag['href']
|
url = atag['href']
|
||||||
|
if not url.startswith('http:'):
|
||||||
|
url = self.url_prefix+'/news/todays-paper/'+atag['href']
|
||||||
#self.log("Section %s" % key)
|
#self.log("Section %s" % key)
|
||||||
#self.log("url %s" % url)
|
#self.log("url %s" % url)
|
||||||
title = self.tag_to_string(atag,False)
|
title = self.tag_to_string(atag,False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user