fix: correcting the links
This commit is contained in:
parent
6020a48a9b
commit
6c00cdc111
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class IRovedOut(ParserScraper):
|
||||||
page = self.getPage(pageUrl)
|
page = self.getPage(pageUrl)
|
||||||
strip = page.xpath('//div[@id="comic-wrap"]/@class')[0].replace('comic-id-', '')
|
strip = page.xpath('//div[@id="comic-wrap"]/@class')[0].replace('comic-id-', '')
|
||||||
parts = page.xpath('//div[@id="comic"]//img/@src')[0].split('/')
|
parts = page.xpath('//div[@id="comic"]//img/@src')[0].split('/')
|
||||||
return "{0}-{1}-{2}-{3}".format(parts[5], parts[6], strip.zfill(5), parts[7])
|
return "{0}-{1}".format(strip.zfill(5), parts[7])
|
||||||
|
|
||||||
def starter(self):
|
def starter(self):
|
||||||
"""Return last gallery link."""
|
"""Return last gallery link."""
|
||||||
|
|
Loading…
Reference in a new issue