Move AddictiveScience to KemonoCafe
This commit is contained in:
parent
af44479b5f
commit
f49dff13be
3 changed files with 7 additions and 1 deletions
|
@ -38,11 +38,17 @@ class KemonoCafe(_ParserScraper):
|
|||
filename = filename.replace('89', '90')
|
||||
elif 'rascals' in pageUrl and '133-2' in pageUrl:
|
||||
filename = filename.replace('133', '134')
|
||||
# Fix unordered filenames
|
||||
if 'addictivescience' in pageUrl:
|
||||
page = self.getPage(pageUrl)
|
||||
num = int(page.xpath('//div[@id="comic-wrap"]/@class')[0].replace('comic-id-', ''))
|
||||
filename = '%04d_%s' % (num, filename)
|
||||
return filename
|
||||
|
||||
@classmethod
|
||||
def getmodules(cls):
|
||||
return (
|
||||
cls('AddictiveScience', 'addictivescience', 'page0001'),
|
||||
cls('CaribbeanBlue', 'cb', 'page000', last='page325'),
|
||||
cls('IMew', 'imew', 'imew00', last='imew50'),
|
||||
cls('Knighthood', 'knighthood', 'kh0001'),
|
||||
|
|
|
@ -734,6 +734,7 @@ class Renamed(Scraper):
|
|||
cls('PetiteSymphony/Rascals', 'KemonoCafe/Rascals'),
|
||||
cls('QuentynQuinnSpaceRanger', 'RHJunior/QuentynQuinnSpaceRanger'),
|
||||
cls('ShermansLagoon', 'ComicsKingdom/ShermansLagoon'),
|
||||
cls('SmackJeeves/AddictiveScience', 'KemonoCafe/AddictiveScience'),
|
||||
cls('SmackJeeves/CityFolk', 'ComicFury/CityFolk'),
|
||||
cls('SmackJeeves/DoomsdayMyDear', 'DoomsdayMyDear'),
|
||||
cls('SmackJeeves/ForestHill', 'ForestHill'),
|
||||
|
|
|
@ -64,7 +64,6 @@ class SmackJeeves(_ParserScraper):
|
|||
cls('AceOfHearts', 155154),
|
||||
cls('AcidMonday', 30447, adult=True),
|
||||
cls('Adalsysla', 96496, endOfLife=True),
|
||||
cls('AddictiveScience', 130684),
|
||||
cls('ADoodleADay', 141301),
|
||||
cls('AdventuresOfLumAndFriends', 122193),
|
||||
cls('AdventuresoftheWeird', 4430),
|
||||
|
|
Loading…
Reference in a new issue