From bc4e7a03f26eb29d9e04830dc9de7684190ac343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Wed, 20 May 2015 23:03:15 +1200 Subject: [PATCH] fixed BroodHollow --- dosagelib/plugins/b.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index 54636ffb9..e75ff61a3 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -338,13 +338,13 @@ class BrightlyWound(_BasicScraper): help = 'Index format: nnn' -class BroodHollow(_BasicScraper): +class BroodHollow(_ParserScraper): url = 'http://broodhollow.chainsawsuit.com/' - rurl = escape(url) stripUrl = url + 'page/%s/' - firstStripUrl = stripUrl % '2012/10/08/broodhollow' - imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/[^"]+)' % rurl)) - prevSearch = compile(tagre("a", "href", r'(%spage/\d+/\d+/\d+/[^"]+)' % rurl, after="prev")) + firstStripUrl = stripUrl % '2012/10/06/book-1-curious-little-thing' + css = True + imageSearch = "#comic img" + prevSearch = ".navi-prev" help = 'Index format: yyyy/mm/dd/stripname'