Fix firstStripUrl for ComicFury comics
This commit is contained in:
parent
dfbc0b148a
commit
5da87d5a66
1 changed files with 2 additions and 3 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue