Add GrrlPower comic.

This commit is contained in:
Bastian Kleineidam 2013-01-29 21:42:10 +01:00
parent f727a0132f
commit 4a63f5d561
2 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,7 @@ Dosage 1.10 (released xx.xx.2013)
Features: Features:
- comics: Added SequentialArt comic strip. - comics: Added SequentialArt comic strip.
- comics: Added VampireCheerleader comic strip. - comics: Added VampireCheerleader comic strip.
- comics: Added GrrlPower comic strip.
Fixes: Fixes:
- comics: Fixed Gunnerkrigcourt comic strip. - comics: Fixed Gunnerkrigcourt comic strip.

View file

@ -79,6 +79,14 @@ class GoneWithTheBlastwave(_BasicScraper):
return '%02d' % int(compile(r'nro=(\d+)').search(pageUrl).group(1)) return '%02d' % int(compile(r'nro=(\d+)').search(pageUrl).group(1))
class GrrlPower(_BasicScraper):
latestUrl = 'http://www.grrlpowercomic.com/'
stripUrl = latestUrl + 'archives/%s'
imageSearch = compile(tagre("img", "src", r'(http://www\.grrlpowercomic\.com/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://www\.grrlpowercomic\.com/archives/\d+)', after="navi-prev"))
help = 'Index format: number'
class GunnerkrigCourt(_BasicScraper): class GunnerkrigCourt(_BasicScraper):
latestUrl = 'http://www.gunnerkrigg.com/' latestUrl = 'http://www.gunnerkrigg.com/'
stripUrl = latestUrl + '?p=%s' stripUrl = latestUrl + '?p=%s'