Fix WebToons file naming
This commit is contained in:
parent
206db33761
commit
d9988bc55d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class WebToons(_ParserScraper):
|
||||||
episodeNum = pageUrl.rsplit('=', 1)[-1]
|
episodeNum = pageUrl.rsplit('=', 1)[-1]
|
||||||
imageNum = self.imageUrls.index(imageUrl)
|
imageNum = self.imageUrls.index(imageUrl)
|
||||||
imageExt = pageUrl.rsplit('.', 1)[-1].split('?', 1)[0]
|
imageExt = pageUrl.rsplit('.', 1)[-1].split('?', 1)[0]
|
||||||
return "%s-%02d.%s" % (episodeNum, imageNum, imageExt)
|
return "%s-%03d.%s" % (episodeNum, imageNum, imageExt)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getmodules(cls):
|
def getmodules(cls):
|
||||||
|
|
Loading…
Reference in a new issue