Add VirmirWorld
This commit is contained in:
parent
6df6549c97
commit
f6b358c754
1 changed files with 12 additions and 0 deletions
|
@ -53,3 +53,15 @@ class ViiviJaWagner(_ParserScraper):
|
||||||
|
|
||||||
def namer(self, image_url, page_url):
|
def namer(self, image_url, page_url):
|
||||||
return page_url.rsplit('-', 1)[1].split('.')[0]
|
return page_url.rsplit('-', 1)[1].split('.')[0]
|
||||||
|
|
||||||
|
|
||||||
|
class VirmirWorld(_ParserScraper):
|
||||||
|
url = 'http://world.virmir.com/'
|
||||||
|
stripUrl = url + 'comic.php?story=%s&page=%s'
|
||||||
|
firstStripUrl = stripUrl % ('1', '1')
|
||||||
|
imageSearch = '//div[@class="comic"]//img'
|
||||||
|
prevSearch = '//a[contains(@class, "prev")]'
|
||||||
|
|
||||||
|
def getIndexStripUrl(self, index):
|
||||||
|
index = index.split('-')
|
||||||
|
return self.stripUrl % (index[0], index[1])
|
||||||
|
|
Loading…
Reference in a new issue