From aa50afdbf7724177b81e9e39a18faba345b03f0c Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Wed, 14 Feb 2024 23:51:30 +0100 Subject: [PATCH] Remove Lackadaisy (we are blocked) --- dosagelib/plugins/l.py | 19 +------------------ dosagelib/plugins/old.py | 1 + 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/dosagelib/plugins/l.py b/dosagelib/plugins/l.py index 28f432187..e04f168f0 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 035da92b1..1c37f90c5 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -1603,6 +1603,7 @@ class Removed(Scraper): cls('GoComics/StoneSoupClassics'), cls('GoComics/StuartCarlson'), cls('KemonoCafe/PrincessBunny'), + cls('Lackadaisy', 'block'), cls('MangaDex/ImTheMaxLevelNewbie', 'legal'), cls('StudioKhimera/Mousechevious'), cls('TalesAndTactics'),