Add VickiFox

This commit is contained in:
Techwolf 2019-11-30 17:37:51 -08:00 committed by Tobias Gruetzmacher
parent 0fcad21b55
commit 2fe790f91c

View file

@ -48,6 +48,17 @@ class VGCatsSuper(VGCats):
stripUrl = url + '?strip_id=%s'
class VickiFox(_ParserScraper):
url = 'http://www.vickifox.com/comic/strip'
stripUrl = url + '?id=%s'
firstStripUrl = stripUrl % '001'
imageSearch = '//img[contains(@src, "comic/")]'
prevSearch = '//button[@id="btnPrev"]/@value'
def getPrevUrl(self, url, data):
return self.stripUrl % self.getPage(url).xpath(self.prevSearch)[0]
class VictimsOfTheSystem(_BasicScraper):
url = 'http://www.votscomic.com/'
stripUrl = url + '?id=%s.jpg'