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