Add InsignificantOtters
This commit is contained in:
parent
d889cb7d74
commit
cee1bb67ea
1 changed files with 10 additions and 1 deletions
|
@ -5,9 +5,10 @@
|
||||||
# Copyright (C) 2019-2020 Daniel Ring
|
# Copyright (C) 2019-2020 Daniel Ring
|
||||||
from re import compile, escape
|
from re import compile, escape
|
||||||
|
|
||||||
|
from ..helpers import indirectStarter
|
||||||
from ..scraper import _BasicScraper, _ParserScraper
|
from ..scraper import _BasicScraper, _ParserScraper
|
||||||
from ..util import tagre
|
from ..util import tagre
|
||||||
from .common import _WordPressScraper, _WPNavi
|
from .common import _WordPressScraper, _WPNavi, _WPWebcomic
|
||||||
|
|
||||||
|
|
||||||
class IAmArg(_BasicScraper):
|
class IAmArg(_BasicScraper):
|
||||||
|
@ -34,6 +35,14 @@ class IDreamOfAJeanieBottle(_WordPressScraper):
|
||||||
url = 'http://jeaniebottle.com/'
|
url = 'http://jeaniebottle.com/'
|
||||||
|
|
||||||
|
|
||||||
|
class InsignificantOtters(_WPWebcomic):
|
||||||
|
stripUrl = 'https://www.thedepthscomic.com/i-otters/%s/'
|
||||||
|
firstStripUrl = stripUrl % 'page-1'
|
||||||
|
url = firstStripUrl
|
||||||
|
imageSearch = '//div[contains(@class, "webcomic-media")]//img'
|
||||||
|
starter = indirectStarter
|
||||||
|
|
||||||
|
|
||||||
class InternetWebcomic(_WPNavi):
|
class InternetWebcomic(_WPNavi):
|
||||||
url = 'http://www.internet-webcomic.com/'
|
url = 'http://www.internet-webcomic.com/'
|
||||||
stripUrl = url + '?p=%s'
|
stripUrl = url + '?p=%s'
|
||||||
|
|
Loading…
Reference in a new issue