Fix firstStripUrl for ComicFury comics

This commit is contained in:
Techwolf 2019-12-30 02:47:28 -08:00 committed by Tobias Gruetzmacher
parent dfbc0b148a
commit 5da87d5a66

View file

@ -55,6 +55,8 @@ class ComicFury(_ParserScraper):
super(ComicFury, self).__init__('ComicFury/' + name) super(ComicFury, self).__init__('ComicFury/' + name)
self.prefix = name self.prefix = name
self.url = 'http://%s.webcomic.ws/comics/' % sub self.url = 'http://%s.webcomic.ws/comics/' % sub
self.stripUrl = self.url + '%s'
self.firstStripUrl = self.stripUrl % '1'
if lang: if lang:
self.lang = lang self.lang = lang
@ -64,9 +66,6 @@ class ComicFury(_ParserScraper):
num = parts[-1] num = parts[-1]
return "%s_%s%s" % (self.prefix, num, ext) return "%s_%s%s" % (self.prefix, num, ext)
def getIndexStripUrl(self, index):
return self.url + 'comics/%s' % index
@classmethod @classmethod
def getmodules(cls): def getmodules(cls):
return ( return (