2016-06-05 19:47:58 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2016-10-28 22:21:41 +00:00
|
|
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
2016-06-05 19:47:58 +00:00
|
|
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
|
|
|
# Copyright (C) 2015-2016 Tobias Gruetzmacher
|
|
|
|
|
|
|
|
from __future__ import absolute_import, division, print_function
|
|
|
|
|
|
|
|
from ..scraper import Scraper
|
|
|
|
|
|
|
|
|
|
|
|
class Removed(Scraper):
|
|
|
|
REASONS = {
|
|
|
|
'jsh': 'Site is very JavaScript-heavy, writing a module would be' +
|
|
|
|
' very complicated.',
|
|
|
|
'del': 'Comic was removed from the web.',
|
|
|
|
'block': 'The comic site is blocking us.',
|
|
|
|
'unk': 'Comic was removed for an unknown reason.',
|
2016-09-29 22:15:45 +00:00
|
|
|
'brk': 'Comic navigation is broken.',
|
2016-10-13 22:14:53 +00:00
|
|
|
'mov': 'Comic moved to a new hoster and no new module was written.',
|
2016-10-30 13:30:45 +00:00
|
|
|
'mis': 'Pages are missing from the comic.',
|
2016-06-05 19:47:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
def __init__(self, name, reason='del'):
|
|
|
|
super(Removed, self).__init__(name)
|
|
|
|
self.reason = reason
|
|
|
|
|
|
|
|
def getDisabledReasons(self):
|
|
|
|
return {'rem-' + self.reason: self.REASONS[self.reason]}
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def getmodules(cls):
|
|
|
|
return [
|
|
|
|
# Removed in 2.16
|
|
|
|
cls('AbleAndBaker'),
|
|
|
|
cls('AlsoBagels'),
|
|
|
|
cls('Antics'),
|
|
|
|
cls('Arcamax/BleekerTheRechargeableDog'),
|
2016-09-28 23:29:01 +00:00
|
|
|
cls('ASkeweredParadise'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('BackwaterPlanet'),
|
|
|
|
cls('BigFatWhale'),
|
|
|
|
cls('Blip'),
|
|
|
|
cls('BoxerHockey'),
|
|
|
|
cls('BoyOnAStickAndSlither', 'jsh'),
|
|
|
|
cls('BrentalFloss'),
|
|
|
|
cls('BrentalFloss/FlossedInTime'),
|
|
|
|
cls('BrentalFloss/GuestComics'),
|
|
|
|
cls('BrightlyWound'),
|
|
|
|
cls('CheckerboardNightmare'),
|
|
|
|
cls('ComicFury/30years'),
|
|
|
|
cls('ComicFury/AAB'),
|
|
|
|
cls('ComicFury/AdventuresofMaggie'),
|
|
|
|
cls('ComicFury/Aether'),
|
|
|
|
cls('ComicFury/Afairtrade'),
|
|
|
|
cls('ComicFury/Afrodays'),
|
|
|
|
cls('ComicFury/Albinobros'),
|
|
|
|
cls('ComicFury/Alexanderandlucas'),
|
|
|
|
cls('ComicFury/Alittlebitofeverything'),
|
|
|
|
cls('ComicFury/Americanextremists'),
|
|
|
|
cls('ComicFury/AmericanNerd'),
|
|
|
|
cls('ComicFury/Amtheatre'),
|
|
|
|
cls('ComicFury/Angstcomic'),
|
|
|
|
cls('ComicFury/Applepine'),
|
|
|
|
cls('ComicFury/Atm'),
|
|
|
|
cls('ComicFury/Atomicmonkey'),
|
|
|
|
cls('ComicFury/Baseballcapsandtiaras'),
|
|
|
|
cls('ComicFury/BATB'),
|
|
|
|
cls('ComicFury/BetweenRounds'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/Blessings'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicFury/BrokenReality'),
|
|
|
|
cls('ComicFury/BTTF'),
|
|
|
|
cls('ComicFury/Cannonadeofhogwash'),
|
|
|
|
cls('ComicFury/CatHero'),
|
|
|
|
cls('ComicFury/Chocolava'),
|
|
|
|
cls('ComicFury/ChristianHumberReloaded'),
|
|
|
|
cls('ComicFury/Cockeyed'),
|
|
|
|
cls('ComicFury/CoftheA'),
|
|
|
|
cls('ComicFury/CompanyMan'),
|
|
|
|
cls('ComicFury/Complicatedd'),
|
|
|
|
cls('ComicFury/Conplicated'),
|
|
|
|
cls('ComicFury/Crowbar'),
|
|
|
|
cls('ComicFury/Crowbars'),
|
|
|
|
cls('ComicFury/Curvyboneyosis'),
|
|
|
|
cls('ComicFury/Dandk'),
|
|
|
|
cls('ComicFury/Davidandtherobot'),
|
|
|
|
cls('ComicFury/DenizensAttentionComic'),
|
|
|
|
cls('ComicFury/Disturbingcomics'),
|
|
|
|
cls('ComicFury/Docapoc'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/DucksMisery'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicFury/Elfcomic'),
|
|
|
|
cls('ComicFury/EMT'),
|
|
|
|
cls('ComicFury/EternityC'),
|
|
|
|
cls('ComicFury/Fathead'),
|
|
|
|
cls('ComicFury/Fexpression'),
|
|
|
|
cls('ComicFury/FireBorn2'),
|
|
|
|
cls('ComicFury/Foxtales'),
|
|
|
|
cls('ComicFury/Fpk'),
|
|
|
|
cls('ComicFury/Ghostassassin'),
|
|
|
|
cls('ComicFury/Gillimurphy'),
|
|
|
|
cls('ComicFury/Glomshire'),
|
|
|
|
cls('ComicFury/Goldrushdynllewcomics'),
|
|
|
|
cls('ComicFury/Grandline3point5'),
|
|
|
|
cls('ComicFury/Halloween2012'),
|
|
|
|
cls('ComicFury/Halloween2013'),
|
|
|
|
cls('ComicFury/HIRI'),
|
|
|
|
cls('ComicFury/Hitmen'),
|
|
|
|
cls('ComicFury/Honeyvenom'),
|
|
|
|
cls('ComicFury/Insanitycorp'),
|
|
|
|
cls('ComicFury/Inviziblecomixgroup'),
|
|
|
|
cls('ComicFury/Isb'),
|
|
|
|
cls('ComicFury/Its'),
|
|
|
|
cls('ComicFury/Jenfferscartoonphotomanipulaion'),
|
|
|
|
cls('ComicFury/Jenffersshow'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/Jeremy'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicFury/Joysworldcomic'),
|
|
|
|
cls('ComicFury/Judgedred'),
|
|
|
|
cls('ComicFury/Jump2'),
|
|
|
|
cls('ComicFury/Kachingcomic'),
|
|
|
|
cls('ComicFury/Kazaandgwenna'),
|
|
|
|
cls('ComicFury/Kevinzombie'),
|
|
|
|
cls('ComicFury/Kindergardencrisis'),
|
|
|
|
cls('ComicFury/Kirahitogame'),
|
|
|
|
cls('ComicFury/Ladyspectra'),
|
|
|
|
cls('ComicFury/Lastcallcomic'),
|
|
|
|
cls('ComicFury/Lazy'),
|
|
|
|
cls('ComicFury/Lena'),
|
|
|
|
cls('ComicFury/Letitride'),
|
|
|
|
cls('ComicFury/Lola2'),
|
|
|
|
cls('ComicFury/LORDDARKE'),
|
|
|
|
cls('ComicFury/Lp'),
|
|
|
|
cls('ComicFury/LucidsDream'),
|
|
|
|
cls('ComicFury/Lvl30psy'),
|
|
|
|
cls('ComicFury/Maddog'),
|
|
|
|
cls('ComicFury/Magisa'),
|
|
|
|
cls('ComicFury/Midnightpeanutbutter'),
|
|
|
|
cls('ComicFury/Minarga'),
|
|
|
|
cls('ComicFury/MoizmadComix'),
|
|
|
|
cls('ComicFury/Moths'),
|
|
|
|
cls('ComicFury/MyHorribleSite'),
|
|
|
|
cls('ComicFury/Neighborscomic'),
|
|
|
|
cls('ComicFury/Nojetpack'),
|
|
|
|
cls('ComicFury/NoSongs'),
|
|
|
|
cls('ComicFury/Nostalgiaofeden'),
|
|
|
|
cls('ComicFury/Ocarinaoftim'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/OldSchoolRasputinCatamite'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicFury/Pandemonium'),
|
|
|
|
cls('ComicFury/Paperstreamer'),
|
|
|
|
cls('ComicFury/Peepsnperks'),
|
|
|
|
cls('ComicFury/PersonaFTW'),
|
|
|
|
cls('ComicFury/Pilgrimenespanol'),
|
|
|
|
cls('ComicFury/Pilgrimsprogress'),
|
|
|
|
cls('ComicFury/PiratesLife'),
|
|
|
|
cls('ComicFury/PobrePucho'),
|
|
|
|
cls('ComicFury/Poussiere'),
|
|
|
|
cls('ComicFury/Pt'),
|
|
|
|
cls('ComicFury/Punch'),
|
|
|
|
cls('ComicFury/Rangerrandom'),
|
|
|
|
cls('ComicFury/Raspcat'),
|
|
|
|
cls('ComicFury/RealLifeTrips'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/RIDDICKQLOSSTALES'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicFury/Romanjack'),
|
|
|
|
cls('ComicFury/RPS'),
|
|
|
|
cls('ComicFury/RPT'),
|
|
|
|
cls('ComicFury/Rvr'),
|
|
|
|
cls('ComicFury/Sarakleeyo'),
|
|
|
|
cls('ComicFury/Sawbladersblacknuzlocke'),
|
|
|
|
cls('ComicFury/Schizmatic'),
|
|
|
|
cls('ComicFury/Seconds'),
|
|
|
|
cls('ComicFury/Serengetti'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/SHADOWQUEEN'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicFury/Shonenpunkremix'),
|
|
|
|
cls('ComicFury/Sinjetpack'),
|
|
|
|
cls('ComicFury/Spf1337'),
|
|
|
|
cls('ComicFury/Sscomic'),
|
|
|
|
cls('ComicFury/Teenagedragon'),
|
|
|
|
cls('ComicFury/Theashes'),
|
|
|
|
cls('ComicFury/TheButterflyEffect'),
|
|
|
|
cls('ComicFury/Thecrease'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/TheGuardiansOfGrey'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicFury/TwentyQuidAmusements'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/Underscore'),
|
|
|
|
cls('ComicFury/ValtersRebellion'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicFury/Wowwithatwistdamaclesandkejallcomic'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/YouAreNowEnteringAshburg'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('ComicGenesis/CryHavoc'),
|
|
|
|
cls('ComicGenesis/SueosdelSur'),
|
|
|
|
cls('Commissioned'),
|
2016-09-29 22:15:45 +00:00
|
|
|
cls('CowboyJedi', 'brk'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('Creators/BCinSpanish'),
|
|
|
|
cls('Creators/GirlsandSportsinSpanish'),
|
|
|
|
cls('Creators/RugratsinSpanish'),
|
|
|
|
cls('CtrlAltDel', 'block'),
|
|
|
|
cls('CtrlAltDel/Sillies', 'block'),
|
2016-09-29 22:15:45 +00:00
|
|
|
cls('DailyDose'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('DeathToTheExtremist'),
|
2016-09-29 22:15:45 +00:00
|
|
|
cls('DoctorCat', 'brk'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('Ellerbisms'),
|
|
|
|
cls('Eriadan'),
|
2016-09-29 22:15:45 +00:00
|
|
|
cls('EverydayBlues'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('FeyWinds'),
|
|
|
|
cls('FilibusterCartoons'),
|
|
|
|
cls('FowlLanguage', 'block'),
|
2016-10-01 01:39:36 +00:00
|
|
|
cls('GoComics/AgentGates'),
|
|
|
|
cls('GoComics/BCEnEspaol'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('GoComics/BenSargent'),
|
|
|
|
cls('GoComics/BillyAndCo'),
|
|
|
|
cls('GoComics/BlackboardDaze'),
|
|
|
|
cls('GoComics/Boogerbrain'),
|
|
|
|
cls('GoComics/BotBrothers'),
|
|
|
|
cls('GoComics/BrilliantMines'),
|
|
|
|
cls('GoComics/BuffaloChips'),
|
|
|
|
cls('GoComics/BuzzaWuzza'),
|
2016-10-01 01:39:36 +00:00
|
|
|
cls('GoComics/CafConLeche'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('GoComics/Cortoons'),
|
2016-10-01 01:39:36 +00:00
|
|
|
cls('GoComics/EleriMaiHarrisCartoons'),
|
|
|
|
cls('GoComics/ElMundoDeBeakman'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('GoComics/FrankBlunt'),
|
|
|
|
cls('GoComics/GoComicsontheRoad'),
|
|
|
|
cls('GoComics/HIP'),
|
|
|
|
cls('GoComics/HoodootheUnwiseOwl'),
|
2016-10-01 01:39:36 +00:00
|
|
|
cls('GoComics/JayAndBoneheadTheMunkysMrCowhide'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('GoComics/JustPosted'),
|
|
|
|
cls('GoComics/KatetheGreat'),
|
2016-10-01 01:39:36 +00:00
|
|
|
cls('GoComics/Mac'),
|
|
|
|
cls('GoComics/McArroni'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('GoComics/MidLifewAlan'),
|
2016-10-01 01:39:36 +00:00
|
|
|
cls('GoComics/Millennialhood'),
|
|
|
|
cls('GoComics/MrGigiAndTheSquid'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('GoComics/Pi'),
|
|
|
|
cls('GoComics/PigtimesCartoon'),
|
|
|
|
cls('GoComics/RedMeat'),
|
|
|
|
cls('GoComics/RicigsToonTrivia'),
|
|
|
|
cls('GoComics/SantavsDracula'),
|
|
|
|
cls('GoComics/Scurvyville'),
|
|
|
|
cls('GoComics/TheAcerbicCaf'),
|
|
|
|
cls('GoComics/TheAdventuresofTeetyBallerina'),
|
|
|
|
cls('GoComics/TOWHOMITMAYCONCERN'),
|
2016-10-01 01:39:36 +00:00
|
|
|
cls('GoComics/Twaggies'),
|
|
|
|
cls('GoComics/YouCanWithBeakmanAndJax'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('GoComics/ZacharyNixonJohnson'),
|
|
|
|
cls('GunnerkrigCourt'),
|
|
|
|
cls('HorribleVille'),
|
|
|
|
cls('KatzenfutterGeleespritzer'),
|
2016-10-13 22:14:53 +00:00
|
|
|
cls('KeenSpot/Adventurers', 'mov'),
|
|
|
|
cls('KeenSpot/AntiheroForHire', 'mov'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('KillerKomics'),
|
|
|
|
cls('Lint'),
|
|
|
|
cls('LinuxComFridayFunnies'),
|
|
|
|
cls('NekkoAndJoruba'),
|
|
|
|
cls('NekoTheKitty'),
|
|
|
|
cls('NewAdventuresOfBobbin'),
|
|
|
|
cls('Nnewts'),
|
|
|
|
cls('OddFish'),
|
|
|
|
cls('OneQuestion'),
|
|
|
|
cls('OnTheFasttrack'),
|
|
|
|
cls('OrnerBoy'),
|
|
|
|
cls('PensAndTales/Evilish'),
|
|
|
|
cls('PensAndTales/FireflyCross'),
|
|
|
|
cls('PetiteSymphony/Djandora'),
|
|
|
|
cls('PetiteSymphony/Generation17'),
|
|
|
|
cls('PunksAndNerdsOld'),
|
|
|
|
cls('RedsPlanet'),
|
2016-10-30 13:30:45 +00:00
|
|
|
cls('SmackJeeves/Aarrevaara'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('SmackJeeves/AchievementStuck'),
|
|
|
|
cls('SmackJeeves/Allthatglitters'),
|
|
|
|
cls('SmackJeeves/AngelBeast'),
|
2016-10-30 13:30:45 +00:00
|
|
|
cls('SmackJeeves/BetweenWorlds'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('SmackJeeves/BeyondTemptation'),
|
|
|
|
cls('SmackJeeves/Bloodyfairytale'),
|
|
|
|
cls('SmackJeeves/BLOT'),
|
|
|
|
cls('SmackJeeves/Captor'),
|
|
|
|
cls('SmackJeeves/ChaosTheory2005'),
|
|
|
|
cls('SmackJeeves/Debtsettlement'),
|
|
|
|
cls('SmackJeeves/DebtSettlement2OperationExtinction'),
|
|
|
|
cls('SmackJeeves/Destinationunknown'),
|
|
|
|
cls('SmackJeeves/DevilTrainee'),
|
|
|
|
cls('SmackJeeves/DevilTraineeSpanish'),
|
|
|
|
cls('SmackJeeves/ElfenLiedDifferences'),
|
|
|
|
cls('SmackJeeves/FeathersPI'),
|
|
|
|
cls('SmackJeeves/FireWire'),
|
|
|
|
cls('SmackJeeves/FrogKing'),
|
|
|
|
cls('SmackJeeves/FuckMyLife'),
|
|
|
|
cls('SmackJeeves/FurtherDowntheRabbitHole'),
|
|
|
|
cls('SmackJeeves/GATEKEEPER'),
|
|
|
|
cls('SmackJeeves/GearTheTakedown'),
|
|
|
|
cls('SmackJeeves/GraveImpressions'),
|
|
|
|
cls('SmackJeeves/GreenKirbyandabunchofotherpeopledoinstuff'),
|
|
|
|
cls('SmackJeeves/Harfang'),
|
|
|
|
cls('SmackJeeves/HotChocolate'),
|
|
|
|
cls('SmackJeeves/Ianua'),
|
|
|
|
cls('SmackJeeves/ImminentMoose'),
|
|
|
|
cls('SmackJeeves/InthePride'),
|
2016-10-30 13:30:45 +00:00
|
|
|
cls('SmackJeeves/Intoxicated'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('SmackJeeves/Knife'),
|
|
|
|
cls('SmackJeeves/Kranburn'),
|
2016-10-30 13:30:45 +00:00
|
|
|
cls('SmackJeeves/LatchkeyKingdom'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('SmackJeeves/LoveTwister'),
|
|
|
|
cls('SmackJeeves/MegaManiacs'),
|
|
|
|
cls('SmackJeeves/MewsDynasty'),
|
|
|
|
cls('SmackJeeves/MomthegamestorerippedusoffAGAIN'),
|
|
|
|
cls('SmackJeeves/MoonlitDawnAMythicalTale'),
|
|
|
|
cls('SmackJeeves/NihilWandasJourney'),
|
|
|
|
cls('SmackJeeves/OddContact'),
|
|
|
|
cls('SmackJeeves/OneFrameGags'),
|
2016-10-30 13:30:45 +00:00
|
|
|
cls('SmackJeeves/Paripety'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('SmackJeeves/Plotlessnesses'),
|
2016-10-30 13:30:45 +00:00
|
|
|
cls('SmackJeeves/PokemonGleamingCrystal', 'mis'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('SmackJeeves/PRAGUERACE'),
|
|
|
|
cls('SmackJeeves/PumpkinFlower'),
|
|
|
|
cls('SmackJeeves/Razor'),
|
|
|
|
cls('SmackJeeves/SAKANA'),
|
|
|
|
cls('SmackJeeves/SerendipityAnEquestrianTale'),
|
|
|
|
cls('SmackJeeves/ShacklesInstallment02'),
|
2016-10-30 13:30:45 +00:00
|
|
|
cls('SmackJeeves/SoulGuardian'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('SmackJeeves/TechnicolorLondon'),
|
|
|
|
cls('SmackJeeves/TeKscloset'),
|
|
|
|
cls('SmackJeeves/TheAttackoftheRecoloursSeason1'),
|
|
|
|
cls('SmackJeeves/ThehumanBEing'),
|
|
|
|
cls('SmackJeeves/TheMewExperiment'),
|
|
|
|
cls('SmackJeeves/TheRandomObscureFairyTaleNoOnesEverReallyHeardOf'),
|
|
|
|
cls('SmackJeeves/TheSomewhereOther'),
|
|
|
|
cls('SmackJeeves/TitleUnrelated'),
|
|
|
|
cls('SmackJeeves/TotalPokemonIsland'),
|
|
|
|
cls('SmackJeeves/TrillyAndSilly'),
|
|
|
|
cls('SmackJeeves/VampireFetish'),
|
|
|
|
cls('SmackJeeves/WolfWolf'),
|
|
|
|
cls('SmackJeeves/WonderTheatre'),
|
|
|
|
cls('SnowFlakes'),
|
|
|
|
cls('StrawberryDeathCake'),
|
|
|
|
cls('Stubble'),
|
|
|
|
cls('SuburbanTribe'),
|
|
|
|
cls('TheOuterQuarter'),
|
|
|
|
cls('ThunderAndLightning'),
|
|
|
|
cls('TinyKittenTeeth'),
|
|
|
|
cls('TwoTwoOneFour'),
|
|
|
|
cls('WayfarersMoon'),
|
|
|
|
cls('WebcomicsNation/AgnesQuill'),
|
|
|
|
cls('WebcomicsNation/MyMuse'),
|
|
|
|
cls('WebcomicsNation/NekkoAndJoruba'),
|
|
|
|
cls('WhiteNinja'),
|
|
|
|
cls('WLP/ShadowChasers'),
|
|
|
|
cls('WotNow'),
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
class Renamed(Scraper):
|
|
|
|
MSG = 'Comic module was renamed to "%s", please rename the directory.'
|
|
|
|
count = 0
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def counter(cls):
|
|
|
|
cls.count += 1
|
|
|
|
return cls.count
|
|
|
|
|
|
|
|
def __init__(self, name, newname):
|
|
|
|
super(Renamed, self).__init__(name)
|
|
|
|
self.newname = newname
|
|
|
|
self.i = self.counter()
|
|
|
|
|
|
|
|
def getDisabledReasons(self):
|
|
|
|
return {'ren-%i' % self.i: self.MSG % self.newname}
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def getmodules(cls):
|
2016-10-13 22:14:53 +00:00
|
|
|
return (
|
2016-06-05 19:47:58 +00:00
|
|
|
# Renamed in 2.16
|
|
|
|
cls('1997', '1977'),
|
|
|
|
cls('ComicFury/Alya', 'ComicFury/AlyaTheLastChildOfLight'),
|
|
|
|
cls('ComicFury/Boatcrash', 'ComicFury/BoatcrashChronicles'),
|
|
|
|
cls('ComicFury/Crimsonpixel', 'ComicFury/CrimsonPixelComics'),
|
|
|
|
cls('ComicFury/Doublejump', 'ComicFury/DoubleJumpGameComics'),
|
|
|
|
cls('ComicFury/Elektroanthology', 'ComicFury/ElektrosComicAnthology'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/ICanSeeYourFeels', 'ComicFury/SeeYourFeels'),
|
|
|
|
cls('ComicFury/MAGISAupdatesMonWedFri', 'ComicFury/MAGISAPARASAYOupdatesMonFri'),
|
2016-10-30 09:57:50 +00:00
|
|
|
cls('ComicFury/OopsComicAdventure', 'OopsComicAdventure'),
|
2016-10-01 00:48:44 +00:00
|
|
|
cls('ComicFury/ThomasAndZachary', 'ComicFury/ThomasAndZacharyArchives'),
|
2016-10-13 22:14:53 +00:00
|
|
|
cls('ComicGenesis/TheLounge', 'KeenSpot/TheLounge'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('Creators/ArchieinSpanish', 'Creators/ArchieSpanish'),
|
|
|
|
cls('Creators/HeathcliffinSpanish', 'Creators/HeathcliffSpanish'),
|
|
|
|
cls('Creators/TheWizardofIdinSpanish', 'Creators/WizardOfIdSpanish'),
|
|
|
|
cls('DarkWings', 'Eryl'),
|
|
|
|
cls('FoulLanguage', 'GoComics/FowlLanguage'),
|
2016-10-01 01:39:36 +00:00
|
|
|
cls('GoComics/BloomCounty2015', 'GoComics/BloomCounty2016'),
|
2016-10-14 12:23:33 +00:00
|
|
|
cls('KeenSpot/ElGoonishShive', 'ElGoonishShive'),
|
|
|
|
cls('KeenSpot/ElGoonishShiveNP', 'ElGoonishShiveNP'),
|
2016-10-13 22:14:53 +00:00
|
|
|
cls('KeenSpot/Newshounds', 'KeenSpot/InfinityRefugees'),
|
2016-10-14 12:23:33 +00:00
|
|
|
cls('KeenSpot/SinFest', 'SinFest'),
|
2016-10-13 22:14:53 +00:00
|
|
|
cls('KeenSpot/TheGodChild', 'GodChild'),
|
2016-06-05 19:47:58 +00:00
|
|
|
cls('Wulffmorgenthaler', 'WuMo'),
|
|
|
|
cls('ZebraGirl', 'ComicFury/ZebraGirl'),
|
2016-10-13 22:14:53 +00:00
|
|
|
)
|