diff --git a/dosagelib/plugins/l.py b/dosagelib/plugins/l.py index 28f4321872..e04f168f09 100644 --- a/dosagelib/plugins/l.py +++ b/dosagelib/plugins/l.py @@ -5,24 +5,7 @@ # SPDX-FileCopyrightText: © 2019 Daniel Ring from ..scraper import ParserScraper, _ParserScraper from ..helpers import bounceStarter, indirectStarter -from .common import ComicControlScraper, WordPressScraper, WordPressNaviIn - - -class Lackadaisy(ParserScraper): - url = 'https://www.lackadaisy.com/comic.php' - stripUrl = url + '?comicid=%s' - firstStripUrl = stripUrl % '1' - imageSearch = '//div[@id="exhibit"]/img[contains(@src, "comic/")]' - prevSearch = '//div[@class="prev"]/a' - nextSearch = '//div[@class="next"]/a' - help = 'Index format: n' - starter = bounceStarter - - def namer(self, imageUrl, pageUrl): - # Use comic id for filename - num = pageUrl.rsplit('=', 1)[-1] - ext = imageUrl.rsplit('.', 1)[-1] - return 'lackadaisy_%s.%s' % (num, ext) +from .common import ComicControlScraper, WordPressScraper class Lancer(WordPressScraper): diff --git a/dosagelib/plugins/old.py b/dosagelib/plugins/old.py index 035da92b12..1c37f90c52 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -1603,6 +1603,7 @@ def getmodules(cls): # noqa: CFQ001 cls('GoComics/StoneSoupClassics'), cls('GoComics/StuartCarlson'), cls('KemonoCafe/PrincessBunny'), + cls('Lackadaisy', 'block'), cls('MangaDex/ImTheMaxLevelNewbie', 'legal'), cls('StudioKhimera/Mousechevious'), cls('TalesAndTactics'),