From cbdf2bc0021145e5127ab23c925af34cf6f5d11f Mon Sep 17 00:00:00 2001 From: Techwolf Date: Sun, 2 Jan 2022 22:32:36 -0800 Subject: [PATCH] Fix CollegeCatastrophe, NineToNine, and SwordsAndSausages --- 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 efe4ea8ed..7f26ce0bf 100644 --- a/dosagelib/plugins/c.py +++ b/dosagelib/plugins/c.py @@ -280,7 +280,7 @@ class CollegeCatastrophe(_ParserScraper): url = 'https://www.tigerknight.com/cc' stripUrl = url + '/%s' firstStripUrl = stripUrl % '2000-11-10' - imageSearch = '//img[@class="comic-image"]' + imageSearch = '//img[d:class("comic-image")]' prevSearch = '//a[./span[contains(text(), "Previous")]]' endOfLife = True multipleImagesPerStrip = True diff --git a/dosagelib/plugins/n.py b/dosagelib/plugins/n.py index 2fb7f4009..2c45ddc53 100644 --- a/dosagelib/plugins/n.py +++ b/dosagelib/plugins/n.py @@ -152,7 +152,7 @@ class NineToNine(_ParserScraper): url = 'https://www.tigerknight.com/99' stripUrl = url + '/%s' firstStripUrl = stripUrl % '2014-01-01' - imageSearch = '//img[@class="comic-image"]' + imageSearch = '//img[d:class("comic-image")]' prevSearch = '//a[./span[contains(text(), "Previous")]]' multipleImagesPerStrip = True diff --git a/dosagelib/plugins/s.py b/dosagelib/plugins/s.py index 1eb61e218..af9051f52 100644 --- a/dosagelib/plugins/s.py +++ b/dosagelib/plugins/s.py @@ -720,6 +720,6 @@ class SwordsAndSausages(_ParserScraper): url = 'https://www.tigerknight.com/ss' stripUrl = url + '/%s' firstStripUrl = stripUrl % '1-1' - imageSearch = '//img[@class="comic-image"]' + imageSearch = '//img[d:class("comic-image")]' prevSearch = '//a[./span[contains(text(), "Previous")]]' multipleImagesPerStrip = True