Fix WLP/PeterIsTheWolf
This commit is contained in:
parent
1a938ffa05
commit
aa22d05c44
1 changed files with 7 additions and 0 deletions
|
@ -64,6 +64,13 @@ class PeterIsTheWolfAdult(_WLPComics):
|
||||||
multipleImagesPerStrip = True
|
multipleImagesPerStrip = True
|
||||||
adult = True
|
adult = True
|
||||||
|
|
||||||
|
def namer(self, imageUrl, pageUrl):
|
||||||
|
name = pageUrl.rsplit('/', 1)[-1].split('.')[0] + '_' + imageUrl.rsplit('/', 1)[-1]
|
||||||
|
if 'adult' in imageUrl:
|
||||||
|
name = name.split('.')
|
||||||
|
return name[0] + '_adult.' + name[1]
|
||||||
|
return name
|
||||||
|
|
||||||
def getPrevUrl(self, url, data):
|
def getPrevUrl(self, url, data):
|
||||||
# Fix loop in site navigation
|
# Fix loop in site navigation
|
||||||
if url == self.stripUrl % '194':
|
if url == self.stripUrl % '194':
|
||||||
|
|
Loading…
Reference in a new issue