From 8a245e1d1041e6b4ddbb408bb74c0834fc019268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Thu, 21 May 2015 00:04:07 +1200 Subject: [PATCH] fixing BloodBound --- dosagelib/plugins/b.py | 11 ----------- dosagelib/plugins/comicpress.py | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index c1ca19445..2cc9af077 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -183,17 +183,6 @@ class Blip(_BasicScraper): return prevUrl.replace("www.blipcomic.com", "blipcomic.com") -class BloodBound(_BasicScraper): - adult = True - url = 'http://bloodboundcomic.com/' - rurl = escape(url) - stripUrl = url + '%s/' - firstStripUrl = stripUrl % '2006/06/06112006' - imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl)) - prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % rurl, after="prev")) - help = 'Index format: yyyy/mm/name' - - class BMovieComic(_BasicScraper): url = 'http://www.bmoviecomic.com/' stripUrl = url + '?cid=%s' diff --git a/dosagelib/plugins/comicpress.py b/dosagelib/plugins/comicpress.py index 6dab5197e..4a6110b4f 100644 --- a/dosagelib/plugins/comicpress.py +++ b/dosagelib/plugins/comicpress.py @@ -16,6 +16,7 @@ def add(name, url, firstUrl=None, lang=None): globals()[name] = make_scraper(name, _ParserScraper, **attrs) +add('BloodBound', 'http://bloodboundcomic.com/', 'comic/06112006/') add('BroodHollow', 'http://broodhollow.chainsawsuit.com/', 'page/2012/10/06/book-1-curious-little-thing') add('CourtingDisaster', 'http://www.courting-disaster.com/', 'comic/courting-disaster-17/') add('OnTheEdge', 'http://ontheedgecomics.com/', 'comic/ote0001/')