From 22865e0a1b2f9b709aa13a1032ff1fbc68aba8f5 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Wed, 7 Jun 2023 00:05:18 -0700 Subject: [PATCH] Add Hellkats --- dosagelib/plugins/h.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dosagelib/plugins/h.py b/dosagelib/plugins/h.py index 4ed5f75bf..0c45d77c0 100644 --- a/dosagelib/plugins/h.py +++ b/dosagelib/plugins/h.py @@ -68,6 +68,20 @@ class HeadlessBliss(ComicControlScraper): url = 'http://headlessbliss.com/' +class Hellkats(ParserScraper): + url = 'https://poecatcomix.com/hellkatscomic/' + stripUrl = url + '%s/' + firstStripUrl = stripUrl % 'hellkats-issue-1-cover' + imageSearch = '//img[@class="scale-with-grid wp-post-image"]' + prevSearch = '//a[d:class("fixed-nav-prev")]' + latestSearch = '//div[@class="post-title"]//a' + starter = indirectStarter + adult = True + + def namer(self, imageUrl, pageUrl): + return pageUrl.rsplit('/', 2)[1] + '.' + imageUrl.rsplit('.', 1)[-1] + + class HeyFox(WordPressScraper): url = 'http://www.steamclaw.com/heyfox/' stripUrl = url + 'archives/comic/%s'