Add InsignificantOtters

This commit is contained in:
Techwolf 2020-03-03 22:03:14 -08:00 committed by Tobias Gruetzmacher
parent d889cb7d74
commit cee1bb67ea

View file

@ -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'