From 1045bb7d4ae9846b041e99d38d5af47aa4fa7666 Mon Sep 17 00:00:00 2001 From: Kevin Anthony Date: Wed, 2 Sep 2015 10:13:42 -0400 Subject: [PATCH] added comic Blooming Faeries --- dosagelib/plugins/b.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index 8ef5fd4ac..35c0c7596 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -151,6 +151,22 @@ class Blip(_BasicScraper): if prevUrl: return prevUrl.replace("www.blipcomic.com", "blipcomic.com") +class BloomingFaeries(_BasicScraper): + adult = True + url = 'http://www.bloomingfaeries.com/' + rurl = escape(url) + stripUrl = url + 'comic/public/%s/' + firstStripUrl = stripUrl % "pit-stop" + imageSearch = compile(tagre("img", "src", r'http://www.bloomingfaeries.com/wp-content/uploads([^"]+)', after='title')) + prevSearch = compile(tagre("a", "href", r'([^"]+)', after='comic-nav-base comic-nav-previous')) + help = 'Index format: stripname' + + @classmethod + def imageUrlModifier(cls, imageUrl, data): + print imageUrl + if imageUrl: + return imageUrl.replace("http://www.bloomingfaeries.com/","http://www.bloomingfaeries.com/wp-content/uploads/") + class BMovieComic(_BasicScraper): url = 'http://www.bmoviecomic.com/'