Fix IslaAukate and IslaAukateColor
This commit is contained in:
parent
28fa430b8a
commit
137e599dd3
1 changed files with 5 additions and 1 deletions
|
@ -66,6 +66,10 @@ class IslaAukate(_ParserScraper):
|
||||||
imageSearch = '//div[@id="comicpage"]/img'
|
imageSearch = '//div[@id="comicpage"]/img'
|
||||||
prevSearch = '//nav[@class="comicnav"]/a[text()="Prev"]'
|
prevSearch = '//nav[@class="comicnav"]/a[text()="Prev"]'
|
||||||
|
|
||||||
|
def namer(self, imageUrl, pageUrl):
|
||||||
|
filename = imageUrl.rsplit('/', 1)[-1]
|
||||||
|
return filename.rsplit('_', 1)[0] + '.' + filename.rsplit('.', 1)[-1]
|
||||||
|
|
||||||
|
|
||||||
class IslaAukateColor(_ParserScraper):
|
class IslaAukateColor(_ParserScraper):
|
||||||
url = 'https://overlordcomic.com/archive/color/latest'
|
url = 'https://overlordcomic.com/archive/color/latest'
|
||||||
|
@ -79,7 +83,7 @@ class IslaAukateColor(_ParserScraper):
|
||||||
filename = imageUrl.rsplit('/', 1)[-1]
|
filename = imageUrl.rsplit('/', 1)[-1]
|
||||||
if filename[0].isdigit():
|
if filename[0].isdigit():
|
||||||
filename = 'Aukate' + filename
|
filename = 'Aukate' + filename
|
||||||
return filename
|
return filename.rsplit('_', 1)[0] + '.' + filename.rsplit('.', 1)[-1]
|
||||||
|
|
||||||
|
|
||||||
class ItsWalky(_WordPressScraper):
|
class ItsWalky(_WordPressScraper):
|
||||||
|
|
Loading…
Reference in a new issue