Fix GirlGenious strip url.

This commit is contained in:
Bastian Kleineidam 2013-04-26 19:52:45 +02:00
parent a027fb760b
commit 8783b53012

View file

@ -88,7 +88,7 @@ class GirlGenius(_BasicScraper):
baseUrl = 'http://www.girlgeniusonline.com/' baseUrl = 'http://www.girlgeniusonline.com/'
rurl = escape(baseUrl) rurl = escape(baseUrl)
url = baseUrl + 'comic.php' url = baseUrl + 'comic.php'
stripUrl = url + 'comic.php?date=%s' stripUrl = url + '?date=%s'
firstStripUrl = stripUrl % '20021104' firstStripUrl = stripUrl % '20021104'
imageSearch = compile(tagre("img", "src", r"(%sggmain/strips/[^']*)" % rurl, quote="'")) imageSearch = compile(tagre("img", "src", r"(%sggmain/strips/[^']*)" % rurl, quote="'"))
prevSearch = compile(tagre("a", "href", r"(%s[^']+)" % rurl, quote="'") + prevSearch = compile(tagre("a", "href", r"(%s[^']+)" % rurl, quote="'") +