Add Centralia2050
This commit is contained in:
parent
523a65581c
commit
9e6bd4803a
1 changed files with 14 additions and 0 deletions
|
@ -149,6 +149,20 @@ class CavesAndCritters(_ParserScraper):
|
|||
adult = True
|
||||
|
||||
|
||||
class Centralia2050(_WordPressScraper):
|
||||
url = 'http://centralia2050.com/'
|
||||
stripUrl = url + 'comic/%s/'
|
||||
firstStripUrl = stripUrl % 'ch1cover'
|
||||
starter = bounceStarter
|
||||
|
||||
def namer(self, imageUrl, pageUrl):
|
||||
page = pageUrl.rstrip('/').rsplit('/', 1)[-1].replace('chapter', 'ch')
|
||||
if 'page-' in page and 'ch-' not in page:
|
||||
page = 'ch-1-' + page
|
||||
ext = imageUrl.rsplit('.', 1)[-1]
|
||||
return page + '.' + ext
|
||||
|
||||
|
||||
class ChainsawSuit(_WordPressScraper):
|
||||
url = 'http://chainsawsuit.com/comic/'
|
||||
stripUrl = url + 'archive/%s/'
|
||||
|
|
Loading…
Reference in a new issue