Fix FalseStart and VampireHunterBoyfriends
This commit is contained in:
parent
741fbd1cb1
commit
61df811ca3
2 changed files with 28 additions and 10 deletions
|
@ -21,13 +21,22 @@ class FalconTwin(_BasicScraper):
|
|||
|
||||
|
||||
class FalseStart(_ParserScraper):
|
||||
url = 'https://boneitiscomics.com/falsestart.php'
|
||||
stripUrl = url + '?pg=%s'
|
||||
firstStripUrl = stripUrl % '1'
|
||||
imageSearch = '//div[@class="page"]//img'
|
||||
prevSearch = '//a[@id="prev"]'
|
||||
baseUrl = 'https://boneitisindustries.com/'
|
||||
url = baseUrl + 'comics/false-start/'
|
||||
stripUrl = baseUrl + 'comic/%s/'
|
||||
firstStripUrl = stripUrl % 'false-start-chapter-zero-page-1'
|
||||
imageSearch = '//div[@id="content"]//img[d:class("size-full")]'
|
||||
prevSearch = '//a[./span[d:class("ticon-chevron-left")]]'
|
||||
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):
|
||||
url = 'http://hijinksensue.com/comic/think-only-tree/'
|
||||
|
|
|
@ -8,13 +8,22 @@ from ..helpers import bounceStarter, indirectStarter
|
|||
|
||||
|
||||
class VampireHunterBoyfriends(_ParserScraper):
|
||||
url = 'https://boneitiscomics.com/vhb.php'
|
||||
stripUrl = url + '?pg=%s'
|
||||
firstStripUrl = stripUrl % '1'
|
||||
imageSearch = '//div[@class="page"]//img'
|
||||
prevSearch = '//a[@id="prev"]'
|
||||
baseUrl = 'https://boneitisindustries.com/'
|
||||
url = baseUrl + 'comics/vampire-hunter-boyfriends/'
|
||||
stripUrl = baseUrl + 'comic/%s/'
|
||||
firstStripUrl = stripUrl % 'vampire-hunter-boyfriends-chapter-1-cover'
|
||||
imageSearch = '//div[@id="content"]//img[d:class("size-full")]'
|
||||
prevSearch = '//a[./span[d:class("ticon-chevron-left")]]'
|
||||
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):
|
||||
baseUrl = 'http://www.vexxarr.com/'
|
||||
|
|
Loading…
Reference in a new issue