From dc387819f264a34f62344c16db51300a59b51f9e Mon Sep 17 00:00:00 2001 From: Techwolf Date: Thu, 16 Apr 2020 01:31:59 -0700 Subject: [PATCH] Fix Bethellium --- dosagelib/plugins/b.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index dc3533259..e765ddf95 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -105,6 +105,10 @@ class Bethellium(_WPWebcomic): url = firstStripUrl starter = indirectStarter + def getPrevUrl(self, url, data): + prevUrl = super(Bethellium, self).getPrevUrl(url, data) + return prevUrl.replace('%webcomic2_storyline%', 'chapter-2-the-hemlocks-scar') + def namer(self, imageUrl, pageUrl): # Prepend chapter title to page filenames chapter = pageUrl.rstrip('/').rsplit('/', 3)[-2]