From c3e4c914c425463cf5708400be0b3c3febce2939 Mon Sep 17 00:00:00 2001 From: toonn Date: Wed, 18 Aug 2021 14:19:08 +0200 Subject: [PATCH] Erfworld: Add Kickstarter Stories --- dosagelib/plugins/e.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/e.py b/dosagelib/plugins/e.py index 7e3cd4df9..c70053a4c 100644 --- a/dosagelib/plugins/e.py +++ b/dosagelib/plugins/e.py @@ -102,7 +102,7 @@ class EmergencyExit(_BasicScraper): class Erfworld(_ParserScraper): stripUrl = 'https://archives.erfworld.com/%s' url = stripUrl % 'getLatestPage.php' - firstStripUrl = stripUrl % 'Book+0/1' + firstStripUrl = stripUrl % 'Kickstarter+Stories/1' imageSearch = '//div[@class="page_content"]//img' textSearch = '//div[@class="page_content"]' prevSearch = '//li[@class="previous"]/a' @@ -134,8 +134,10 @@ class Erfworld(_ParserScraper): return self.stripUrl % 'Book+2/231' elif url == self.stripUrl % 'Book+2/1': return self.stripUrl % 'Book+1/184' - if url == self.stripUrl % 'Book+1/1': + elif url == self.stripUrl % 'Book+1/1': return self.stripUrl % 'Book+0/81' + elif url == self.stripUrl % 'Book+0/1': + return self.stripUrl % 'Kickstarter+Stories/54' return super(Erfworld, self).getPrevUrl(url, data)