From bbac2f99a760f481d61137a0586f14a8036e153e Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Tue, 29 Sep 2020 22:22:55 +0200 Subject: [PATCH] Fix BetweenFailures --- dosagelib/plugins/b.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index 7b9f2415f..1a13bf92e 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -128,13 +128,10 @@ class BetterDays(_ParserScraper): endOfLife = True -class BetweenFailures(_BasicScraper): - url = 'http://betweenfailures.com/' - rurl = escape(url) +class BetweenFailures(_WPWebcomic): + url = 'https://betweenfailures.com/' stripUrl = url + 'comics1/%s' - imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/\d+-\d+-\d+[^"]+)' % rurl)) - prevSearch = compile(tagre("a", "href", r'(%scomics1/[^"]+)' % rurl, - after="previous")) + firstStripUrl = stripUrl % 'every-story-has-to-start-somewhere' help = 'Index format: stripname'