Fix Weregeek

This commit is contained in:
Techwolf 2023-06-06 21:03:36 -07:00 committed by Tobias Gruetzmacher
parent 9c143f3c9c
commit f158f5af7c
No known key found for this signature in database

View file

@ -5,7 +5,7 @@
# Copyright (C) 2019-2020 Daniel Ring # Copyright (C) 2019-2020 Daniel Ring
from re import compile, escape, IGNORECASE from re import compile, escape, IGNORECASE
from ..scraper import _BasicScraper, _ParserScraper from ..scraper import ParserScraper, _BasicScraper, _ParserScraper
from ..util import tagre from ..util import tagre
from ..helpers import bounceStarter from ..helpers import bounceStarter
from .common import ComicControlScraper, WordPressScraper, WordPressNaviIn, WordPressWebcomic from .common import ComicControlScraper, WordPressScraper, WordPressNaviIn, WordPressWebcomic
@ -36,13 +36,12 @@ class WebcomicName(_ParserScraper):
multipleImagesPerStrip = True multipleImagesPerStrip = True
class Weregeek(_ParserScraper): class Weregeek(ParserScraper):
url = 'http://www.weregeek.com/' url = 'http://www.weregeek.com/'
stripUrl = url + '%s/' stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % '2006/11/27' firstStripUrl = stripUrl % 'comic-1'
imageSearch = '//div[@id="comic"]/img' imageSearch = '//div[d:class("webcomic-media")]//img'
prevSearch = '//a[./img[@alt="Previous"]]' prevSearch = '//a[d:class("previous-webcomic-link")]'
help = 'Index format: yyyy/mm/dd'
class WereIWolf(_ParserScraper): class WereIWolf(_ParserScraper):