From 4c495b78f758a24f66e74490cae4a92284874dcb Mon Sep 17 00:00:00 2001 From: Techwolf Date: Fri, 12 Jul 2019 20:34:47 -0700 Subject: [PATCH] Add DarkWhite --- dosagelib/plugins/d.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index 0ffd35a8e..d4c0f4ecb 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -10,7 +10,7 @@ from re import compile, escape from ..scraper import _BasicScraper, _ParserScraper from ..helpers import indirectStarter, bounceStarter, xpath_class from ..util import tagre -from .common import _ComicControlScraper, _WPNaviIn +from .common import _ComicControlScraper, _WordPressScraper, _WPNaviIn class DamnLol(_ParserScraper): @@ -43,6 +43,12 @@ class DangerouslyChloe(_ComicControlScraper): firstStripUrl = url + 'strips-dc/Chapter_1_-_That_damned_girl' +class DarkWhite(_WordPressScraper): + url = 'https://www.darkwhitecomic.com/' + stripUrl = url + 'comic/%s/' + firstStripUrl = stripUrl % 'chapter-1-sleep' + + class DarthsAndDroids(_BasicScraper): url = 'http://www.darthsanddroids.net/' stripUrl = url + 'episodes/%s.html'