Merge pull request #63 from sehrgut/master

Updated GirlGenius to new markup
This commit is contained in:
wummel 2014-06-24 20:40:15 +02:00
commit a0086bfcd8

View file

@ -111,11 +111,11 @@ class GirlGenius(_BasicScraper):
stripUrl = url + '?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", "id", "topprev", quote="\"",
tagre("img", "alt", "The Previous Comic", quote="'")) before=r"(%s[^\"']+)" % rurl))
multipleImagesPerStrip = True
help = 'Index format: yyyymmdd' help = 'Index format: yyyymmdd'
class GirlsWithSlingshots(_BasicScraper): class GirlsWithSlingshots(_BasicScraper):
url = 'http://www.girlswithslingshots.com/' url = 'http://www.girlswithslingshots.com/'
rurl = escape(url) rurl = escape(url)