Fix Weregeek
This commit is contained in:
parent
9c143f3c9c
commit
f158f5af7c
1 changed files with 6 additions and 7 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue