From 6835d490d844b45ee98528366f826d5a29acb226 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Tue, 19 Jan 2021 01:07:36 +0100 Subject: [PATCH] Remove 3 MangaDex modules which were taken down --- dosagelib/plugins/mangadex.py | 5 +---- dosagelib/plugins/old.py | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dosagelib/plugins/mangadex.py b/dosagelib/plugins/mangadex.py index 302fa21f9..37ad6615a 100644 --- a/dosagelib/plugins/mangadex.py +++ b/dosagelib/plugins/mangadex.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -# Copyright (C) 2019-2020 Tobias Gruetzmacher +# Copyright (C) 2019-2021 Tobias Gruetzmacher # Copyright (C) 2019-2020 Daniel Ring import json @@ -72,10 +72,8 @@ class MangaDex(_ParserScraper): cls('AttackonTitan', 429), cls('Beastars', 20523), cls('DeliciousinDungeon', 13871), - cls('DrStone', 20882), cls('DragonDrive', 5165), cls('HangingOutWithAGamerGirl', 42490), - cls('HeavensDesignTeam', 27811), cls('HoriMiya', 6770), cls('HowToOpenATriangularRiceball', 19305), cls('InterspeciesReviewers', 20796), @@ -97,7 +95,6 @@ class MangaDex(_ParserScraper): cls('SaekiSanWaNemutteru', 28834), cls('SewayakiKitsuneNoSenkoSan', 22723), cls('SousouNoFrieren', 48045), - cls('SPYxFAMILY', 35705), cls('SwordArtOnline', 1360), cls('SwordArtOnlineProgressive', 9604), cls('TheWolfAndRedRidingHood', 31079), diff --git a/dosagelib/plugins/old.py b/dosagelib/plugins/old.py index e77f9627f..85962ffb2 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -17,6 +17,7 @@ class Removed(Scraper): 'mov': 'Comic moved to a new hoster and no new module was written.', 'mis': 'Pages are missing from the comic.', 'acc': 'Account is needed to access site.', + 'legal': 'Comic was removed for legal reasons (fanrip, scanlation, etc.).', } def __init__(self, name, reason='del'): @@ -673,6 +674,9 @@ class Removed(Scraper): cls('GoComics/USAcres'), cls('GoComics/WorldOfWonder'), cls('Laiyu', 'brk'), + cls('MangaDex/DrStone', 'legal'), + cls('MangaDex/HeavensDesignTeam', 'legal'), + cls('MangaDex/SPYxFAMILY', 'legal'), cls('SmackJeeves/20TimesKirby'), cls('SmackJeeves/2Kingdoms'), cls('SmackJeeves/355Days'),