fixing pebbleversion

This commit is contained in:
Damjan Košir 2015-05-14 22:33:46 +12:00
parent 666249e06f
commit f75fc62e84

View file

@ -59,11 +59,11 @@ class PastelDefender(_BasicScraper):
help = 'Index format: nnn'
class PebbleVersion(_BasicScraper):
class PebbleVersion(_ParserScraper):
url = 'http://www.pebbleversion.com/'
stripUrl = url + 'Archives/Strip%s.html'
imageSearch = compile(r'<img src="(ComicStrips/.+?|../ComicStrips/.+?)"')
prevSearch = compile(r'<a href="((?!.+?">First Comic)Archives/Strip.+?|(?=.+?">Previous Comic)(?!.+?">First Comic)Strip.+?)"')
imageSearch = "//table/tr[2]//img"
prevSearch = '//a[text()="Previous Comic"]'
help = 'Index format: n (unpadded)'