Added GirlGenius
This commit is contained in:
parent
96fc129fea
commit
1ae674782d
2 changed files with 14 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
Dosage 2.2 (released xx.xx.2013)
|
Dosage 2.2 (released xx.xx.2013)
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
- comic: Added ARedTailsDream, Carciphona, Curtailed.
|
- comic: Added ARedTailsDream, Carciphona, Curtailed, GirlGenius.
|
||||||
Patch by Dirk Reiners
|
Patch by Dirk Reiners
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
@ -83,6 +83,19 @@ class _GeneralProtectionFault(_BasicScraper):
|
||||||
return imageName[:11] + imageName[-4:]
|
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):
|
class GirlsWithSlingshots(_BasicScraper):
|
||||||
url = 'http://www.girlswithslingshots.com/'
|
url = 'http://www.girlswithslingshots.com/'
|
||||||
rurl = escape(url)
|
rurl = escape(url)
|
||||||
|
|
Loading…
Reference in a new issue