Fix StandStillStaySilent

This commit is contained in:
Techwolf 2019-07-11 00:10:21 -07:00 committed by Tobias Gruetzmacher
parent 8831984991
commit 9aa0845b17

View file

@ -452,12 +452,16 @@ class SSDD(_ParserScraper):
class StandStillStaySilent(_ParserScraper): class StandStillStaySilent(_ParserScraper):
url = 'http://www.sssscomic.com/comic.php' baseUrl = 'http://sssscomic.com/'
stripUrl = url + '?page=%s' url = baseUrl + 'comic2.php'
firstStripUrl = stripUrl % '1' stripUrl = baseUrl + 'comic%s.php?page=%s'
firstStripUrl = stripUrl % ('', '1')
imageSearch = '//img[@class="comicnormal"]' imageSearch = '//img[@class="comicnormal"]'
prevSearch = '//a[div[@id="navprev"]]' prevSearch = '//a[./img[contains(@src, "nav_prev")]]'
help = 'Index Format: number'
def namer(self, imageUrl, pageUrl):
chapter = '2' if ('adv2_comicpages' in imageUrl) else '1'
return '%s-%s' % (chapter, imageUrl.rsplit('/', 1)[-1].replace('page_', ''))
class StarCrossdDestiny(_ParserScraper): class StarCrossdDestiny(_ParserScraper):