From c467de05e375d1b2e6a42afee55e48b0da7232c7 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sat, 4 Jun 2022 11:12:55 +0200 Subject: [PATCH] Restore standalone DeerMe They seem to have moved back from ComicFury to their own hosting... --- dosagelib/plugins/comicfury.py | 1 - dosagelib/plugins/d.py | 9 +++++++++ dosagelib/plugins/old.py | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/comicfury.py b/dosagelib/plugins/comicfury.py index eb293fd5c..2b23bcc52 100644 --- a/dosagelib/plugins/comicfury.py +++ b/dosagelib/plugins/comicfury.py @@ -337,7 +337,6 @@ class ComicFury(_ParserScraper): cls('DeadFingers', 'deadfingers'), cls('DeadRabbitCa', 'afairtrade'), cls('DeepBlue', 'deepblue'), - cls('DeerMe', 'deerme'), cls('DefineHero', 'definehero'), cls('DELIA', 'delia'), cls('DemasPokmonAdventure', 'nuzlocke-dema'), diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index aafee0698..23945d94b 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -88,6 +88,15 @@ class DeepFried(_BasicScraper): help = 'Index format: none' +class DeerMe(_ParserScraper): + url = 'https://www.deerme.net/' + firstStripUrl = url + 'a.php?b=comic/c001-image/dm-20031121-001-0001' + imageSearch = '//div[d:class("ComicImage")]/img' + prevSearch = '//a[@rel="prev"]' + nextSearch = '//a[@rel="next"]' + starter = bounceStarter + + class Delve(_WordPressScraper): url = 'https://thisis.delvecomic.com/NewWP/' stripUrl = url + 'comic/%s/' diff --git a/dosagelib/plugins/old.py b/dosagelib/plugins/old.py index da12ea04d..c935b7bb1 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -1613,7 +1613,6 @@ class Renamed(Scraper): # Renamed in 3.0 cls('AHClub', 'RickGriffinStudios/AHClub'), cls('CrapIDrewOnMyLunchBreak', 'WebToons/CrapIDrewOnMyLunchBreak'), - cls('DeerMe', 'ComicFury/DeerMe'), cls('GoComics/BloomCounty2017', 'GoComics/BloomCounty2019'), cls('GoComics/Cathy', 'GoComics/CathyClassics'), cls('GoComics/Owlturd', 'GoComics/ShenComix'),