fixed Pimpette

This commit is contained in:
Damjan Košir 2015-05-31 22:57:25 +12:00
parent df7404fd7c
commit f3036de8fd

View file

@ -163,12 +163,12 @@ class PiledHigherAndDeeper(_BasicScraper):
namer = queryNamer('comicid', usePageUrl=True) namer = queryNamer('comicid', usePageUrl=True)
class Pimpette(_BasicScraper): class Pimpette(_ParserScraper):
url = 'http://pimpette.ca/' url = 'http://pimpette.ca/'
stripUrl = url + 'index.php?date=%s' stripUrl = url + 'index.php?date=%s'
firstStripUrl = stripUrl % '20030905' firstStripUrl = stripUrl % '20030905'
imageSearch = compile(tagre("img", "src", r'(strips/[^"]+)')) imageSearch = '//div[@id="strip"]/img'
prevSearch = compile(tagre("a", "href", r'(index\.php\?date=\d+)') + "Previous") prevSearch = '//a[text()="previous"]'
help = 'Index format: yyyymmdd' help = 'Index format: yyyymmdd'