From 1a690bdeaf84efd616c814d1f85cbd38bb560867 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Sun, 24 Jan 2021 23:24:30 -0800 Subject: [PATCH] Fix NineToNine, SwordsAndSausages, and CollegeCatastrophe --- dosagelib/plugins/c.py | 2 +- dosagelib/plugins/n.py | 2 +- dosagelib/plugins/s.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dosagelib/plugins/c.py b/dosagelib/plugins/c.py index fc2acada4..da064e3c3 100644 --- a/dosagelib/plugins/c.py +++ b/dosagelib/plugins/c.py @@ -286,7 +286,7 @@ class CollegeCatastrophe(_ParserScraper): stripUrl = url + '/%s' firstStripUrl = stripUrl % '2000-11-10' imageSearch = '//img[@class="comic-image"]' - prevSearch = '//a[span[contains(text(),"Previous")]]' + prevSearch = '//a[./span[contains(text(), "Previous")]]' endOfLife = True multipleImagesPerStrip = True diff --git a/dosagelib/plugins/n.py b/dosagelib/plugins/n.py index 509f09fb3..2fb7f4009 100644 --- a/dosagelib/plugins/n.py +++ b/dosagelib/plugins/n.py @@ -153,7 +153,7 @@ class NineToNine(_ParserScraper): stripUrl = url + '/%s' firstStripUrl = stripUrl % '2014-01-01' imageSearch = '//img[@class="comic-image"]' - prevSearch = '//a[@class="prev"]' + prevSearch = '//a[./span[contains(text(), "Previous")]]' multipleImagesPerStrip = True diff --git a/dosagelib/plugins/s.py b/dosagelib/plugins/s.py index 25966a6e4..eefc27a9e 100644 --- a/dosagelib/plugins/s.py +++ b/dosagelib/plugins/s.py @@ -702,5 +702,5 @@ class SwordsAndSausages(_ParserScraper): stripUrl = url + '/%s' firstStripUrl = stripUrl % '1-1' imageSearch = '//img[@class="comic-image"]' - prevSearch = '//a[@class="prev"]' + prevSearch = '//a[./span[contains(text(), "Previous")]]' multipleImagesPerStrip = True