From 5863ddb73bf473ada142c1ab6fb07510f61fb63e Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Tue, 29 Sep 2020 22:27:32 +0200 Subject: [PATCH] Fix BookOfBiff --- dosagelib/plugins/b.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index 1a13bf92e..60e470464 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -237,13 +237,10 @@ class BobWhite(_ParserScraper): prevSearch = '//a[@rel="previous"]' -class BookOfBiff(_BasicScraper): - url = 'http://thebookofbiff.com/' - stripUrl = url + '%s/' - firstStripUrl = stripUrl % '2006/01/02/4' - imageSearch = compile(tagre("img", "src", r'([^"]+/comics/[^"]+)')) - prevSearch = compile(tagre("a", "href", r'([^"]+)', after="Previous")) - help = 'Index format: yyyy/mm/dd/stripnum-stripname' +class BookOfBiff(_WordPressScraper): + url = 'https://thebookofbiff.com/' + stripUrl = url + 'comic/%s/' + firstStripUrl = stripUrl % '4' class BoredAndEvil(_BasicScraper):