From e4f1f59432aa146db0361048a60a55db6268702e Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Tue, 29 Sep 2020 23:31:38 +0200 Subject: [PATCH] Fix ButtercupFestival --- dosagelib/plugins/b.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dosagelib/plugins/b.py b/dosagelib/plugins/b.py index 9409d164c..4dcd8de84 100644 --- a/dosagelib/plugins/b.py +++ b/dosagelib/plugins/b.py @@ -295,8 +295,10 @@ class ButtercupFestival(_ParserScraper): stripUrl = url + '%s.htm' firstStripUrl = stripUrl % '2-1' imageSearch = '//center/img' - prevSearch = '//a[text()="previous"]' - help = 'Index format: 2-number' + prevSearch = ( + '//a[img[contains(@src, "previous")]]', # 3-x + '//a[text()="previous"]' # 2-x + ) class ButternutSquash(_BasicScraper):