From 6c00cdc111bc1cc59110c5c363c258721036c87a Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Mon, 15 Jan 2024 22:07:05 -0600 Subject: [PATCH] fix: correcting the links --- dosagelib/plugins/i.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dosagelib/plugins/i.py b/dosagelib/plugins/i.py index cb2dd2708..84b2b8881 100644 --- a/dosagelib/plugins/i.py +++ b/dosagelib/plugins/i.py @@ -62,7 +62,7 @@ class IRovedOut(ParserScraper): page = self.getPage(pageUrl) strip = page.xpath('//div[@id="comic-wrap"]/@class')[0].replace('comic-id-', '') 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): """Return last gallery link."""