Fix FalseStart and VampireHunterBoyfriends

This commit is contained in:
Techwolf 2021-12-24 21:28:19 -08:00
parent 741fbd1cb1
commit 61df811ca3
2 changed files with 28 additions and 10 deletions

View file

@ -21,13 +21,22 @@ class FalconTwin(_BasicScraper):
class FalseStart(_ParserScraper): class FalseStart(_ParserScraper):
url = 'https://boneitiscomics.com/falsestart.php' baseUrl = 'https://boneitisindustries.com/'
stripUrl = url + '?pg=%s' url = baseUrl + 'comics/false-start/'
firstStripUrl = stripUrl % '1' stripUrl = baseUrl + 'comic/%s/'
imageSearch = '//div[@class="page"]//img' firstStripUrl = stripUrl % 'false-start-chapter-zero-page-1'
prevSearch = '//a[@id="prev"]' imageSearch = '//div[@id="content"]//img[d:class("size-full")]'
prevSearch = '//a[./span[d:class("ticon-chevron-left")]]'
adult = True adult = True
def starter(self):
archivePage = self.getPage(self.url)
self.archive = archivePage.xpath('//div[contains(@class, "vcex-portfolio-grid")]//a/@href')
return self.archive[-1]
def getPrevUrl(self, url, data):
return self.archive[self.archive.index(url) - 1]
class Faneurysm(_WPNaviIn): class Faneurysm(_WPNaviIn):
url = 'http://hijinksensue.com/comic/think-only-tree/' url = 'http://hijinksensue.com/comic/think-only-tree/'

View file

@ -8,13 +8,22 @@ from ..helpers import bounceStarter, indirectStarter
class VampireHunterBoyfriends(_ParserScraper): class VampireHunterBoyfriends(_ParserScraper):
url = 'https://boneitiscomics.com/vhb.php' baseUrl = 'https://boneitisindustries.com/'
stripUrl = url + '?pg=%s' url = baseUrl + 'comics/vampire-hunter-boyfriends/'
firstStripUrl = stripUrl % '1' stripUrl = baseUrl + 'comic/%s/'
imageSearch = '//div[@class="page"]//img' firstStripUrl = stripUrl % 'vampire-hunter-boyfriends-chapter-1-cover'
prevSearch = '//a[@id="prev"]' imageSearch = '//div[@id="content"]//img[d:class("size-full")]'
prevSearch = '//a[./span[d:class("ticon-chevron-left")]]'
adult = True adult = True
def starter(self):
archivePage = self.getPage(self.url)
self.archive = archivePage.xpath('//div[contains(@class, "vcex-portfolio-grid")]//a/@href')
return self.archive[-1]
def getPrevUrl(self, url, data):
return self.archive[self.archive.index(url) - 1]
class Vexxarr(_ParserScraper): class Vexxarr(_ParserScraper):
baseUrl = 'http://www.vexxarr.com/' baseUrl = 'http://www.vexxarr.com/'