Added GirlGenius

This commit is contained in:
Bastian Kleineidam 2013-04-25 20:58:24 +02:00
parent 96fc129fea
commit 1ae674782d
2 changed files with 14 additions and 1 deletions

View file

@ -1,7 +1,7 @@
Dosage 2.2 (released xx.xx.2013)
Features:
- comic: Added ARedTailsDream, Carciphona, Curtailed.
- comic: Added ARedTailsDream, Carciphona, Curtailed, GirlGenius.
Patch by Dirk Reiners
Changes:

View file

@ -83,6 +83,19 @@ class _GeneralProtectionFault(_BasicScraper):
return imageName[:11] + imageName[-4:]
class GirlGenius(_BasicScraper):
description = u'Adventure, Romance, Mad Science!'
baseUrl = 'http://www.girlgeniusonline.com/'
rurl = escape(baseUrl)
url = baseUrl + 'comic.php'
stripUrl = url + 'comic.php?date=%s'
firstStripUrl = stripUrl % '20021104'
imageSearch = compile(tagre("img", "src", r"(%sggmain/strips/[^']*)" % rurl, quote="'"))
prevSearch = compile(tagre("a", "href", r"(%s[^']+)" % rurl, quote="'") +
tagre("img", "alt", "The Previous Comic", quote="'"))
help = 'Index format: yyyymmdd'
class GirlsWithSlingshots(_BasicScraper):
url = 'http://www.girlswithslingshots.com/'
rurl = escape(url)