From 15b55e7aedbe609ec1818c3f7e3717f36580fd97 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 27 Jan 2011 18:47:09 -0700 Subject: [PATCH] ... --- resources/recipes/calgary_herald.recipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/recipes/calgary_herald.recipe b/resources/recipes/calgary_herald.recipe index e8080d71aa..109089a372 100644 --- a/resources/recipes/calgary_herald.recipe +++ b/resources/recipes/calgary_herald.recipe @@ -98,7 +98,9 @@ class CanWestPaper(BasicNewsRecipe): atag = h1tag.find('a',href=True) if not atag: 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("url %s" % url) title = self.tag_to_string(atag,False)