Fix ComicFury/MayTheRainCome

This commit is contained in:
Techwolf 2021-01-13 22:38:46 -08:00 committed by Tobias Gruetzmacher
parent 258f147bdf
commit f4a537038a

View file

@ -49,7 +49,7 @@ class ComicFury(_ParserScraper):
help = 'Index format: n' help = 'Index format: n'
starter = bounceStarter starter = bounceStarter
def __init__(self, name, sub, lang=None, adult=False): def __init__(self, name, sub, lang=None, adult=False, endOfLife=False):
super(ComicFury, self).__init__('ComicFury/' + name) super(ComicFury, self).__init__('ComicFury/' + name)
self.prefix = name self.prefix = name
self.url = 'http://%s.webcomic.ws/comics/' % sub self.url = 'http://%s.webcomic.ws/comics/' % sub
@ -59,6 +59,8 @@ class ComicFury(_ParserScraper):
self.lang = lang self.lang = lang
if adult: if adult:
self.adult = adult self.adult = adult
if endOfLife:
self.endOfLife = endOfLife
def namer(self, image_url, page_url): def namer(self, image_url, page_url):
parts = page_url.split('/') parts = page_url.split('/')
@ -638,6 +640,7 @@ class ComicFury(_ParserScraper):
cls('MaxFuture', 'maxfuture'), cls('MaxFuture', 'maxfuture'),
cls('MAYBELOVE', 'emmacomics'), cls('MAYBELOVE', 'emmacomics'),
cls('MayonakaDensha', 'mayonakadensha'), cls('MayonakaDensha', 'mayonakadensha'),
cls('MayTheRainCome', 'maytheraincome', endOfLife=True),
cls('MegaMaidenVSTheChopChopPrincess', 'megamaiden'), cls('MegaMaidenVSTheChopChopPrincess', 'megamaiden'),
cls('MeganKearneysBeautyAndTheBeast', 'batb'), cls('MeganKearneysBeautyAndTheBeast', 'batb'),
cls('MelancholyGoRound', 'melancholygoround'), cls('MelancholyGoRound', 'melancholygoround'),