Fix WebToons file naming

This commit is contained in:
Techwolf 2020-03-17 23:33:35 -07:00 committed by Tobias Gruetzmacher
parent 206db33761
commit d9988bc55d

View file

@ -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):