From 9fb1fccd081aed04a800a0ce21d3e81c7eb07982 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Mon, 27 Jan 2020 22:55:32 -0800 Subject: [PATCH] Fix Draconia (fixes #150) --- dosagelib/plugins/d.py | 6 ++++++ dosagelib/plugins/old.py | 1 + dosagelib/plugins/studiokhimera.py | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index d4aad33f1..10a78991d 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -273,6 +273,12 @@ class DoomsdayMyDear(_ParserScraper): prevSearch = '//a[{}]'.format(xpath_class('previous-webcomic-link')) +class Draconia(_WPWebcomic): + url = 'https://www.draconiachronicles.com/' + stripUrl = url + 'comic/%s/' + firstStripUrl = stripUrl % 'chapter-1-page-1' + + class Dracula(_BasicScraper): url = 'http://draculacomic.net/' stripUrl = url + 'comic.php?comicID=%s' diff --git a/dosagelib/plugins/old.py b/dosagelib/plugins/old.py index 17bd8c423..715ef27c1 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -756,4 +756,5 @@ class Renamed(Scraper): cls('ZebraGirl', 'ComicFury/ZebraGirl'), # Renamed in 3.0 + cls('StudioKhimera/Draconia', 'Draconia'), ) diff --git a/dosagelib/plugins/studiokhimera.py b/dosagelib/plugins/studiokhimera.py index febe3b016..c32cec8bc 100644 --- a/dosagelib/plugins/studiokhimera.py +++ b/dosagelib/plugins/studiokhimera.py @@ -55,7 +55,6 @@ class StudioKhimera(_ParserScraper): @classmethod def getmodules(cls): return ( - cls('Draconia', 'thedraconiachronicles', adult=True), cls('Eorah', 'eorah'), cls('Mousechievous', 'mousechievous'), cls('UberQuest', 'uberquest'),