Fix StandStillStaySilent
This commit is contained in:
parent
8831984991
commit
9aa0845b17
1 changed files with 9 additions and 5 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue