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