From 93dc03a429bccf9fcc36675e55f33b6899ed1844 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Fri, 6 Sep 2019 01:56:41 -0700 Subject: [PATCH] Fix SleeplessDomain --- dosagelib/plugins/s.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dosagelib/plugins/s.py b/dosagelib/plugins/s.py index c489f8843..c3b4abfe6 100644 --- a/dosagelib/plugins/s.py +++ b/dosagelib/plugins/s.py @@ -270,6 +270,12 @@ class SkinDeep(_ParserScraper): class SleeplessDomain(_ComicControlScraper): url = 'http://www.sleeplessdomain.com/' + stripUrl = url + 'comic/%s' + firstStripUrl = stripUrl % 'chapter-1-cover' + starter = bounceStarter + + def namer(self, imageUrl, pageUrl): + return pageUrl.rsplit('/', 1)[-1] + '.' + imageUrl.rsplit('.', 1)[-1] class SlightlyDamned(_ComicControlScraper):