From cb360bc983b1147c2bfc61c58cfab2a538f6dc8d Mon Sep 17 00:00:00 2001 From: Techwolf Date: Sun, 23 Jun 2019 01:35:10 -0700 Subject: [PATCH] Add Bloodline --- dosagelib/plugins/b.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index 3de1b39e3..a9836591d 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -143,6 +143,17 @@ class BloodBound(_WordPressScraper): firstStripUrl = 'http://bloodboundcomic.com/comic/06112006/' +class Bloodline(_WordPressScraper): + url = 'http://w0lfmare.xepher.net/' + stripUrl = url + 'comic/%s' + firstStripUrl = stripUrl % 'pg-1-2' + imageSearch = '//div[@id="comic"]//img[not(contains(@src, "TWC-vote-image"))]' + + def namer(self, imageUrl, pageUrl): + # Fix filenames of early comics + return imageUrl.rsplit('/', 1)[-1].replace('gen-6', 'Bloodline') + + class BloomingFaeries(_WordPressScraper): adult = True url = 'http://www.bloomingfaeries.com/'