Add OrderOfTheBlackDog

This commit is contained in:
Techwolf 2019-06-19 22:01:12 -07:00 committed by Tobias Gruetzmacher
parent 15a5953120
commit 44b65f9aac

View file

@ -7,9 +7,10 @@ from __future__ import absolute_import, division, print_function
from re import compile, escape
from ..helpers import bounceStarter
from ..scraper import _BasicScraper, _ParserScraper
from ..util import tagre
from .common import _WordPressScraper, _WPNavi
from .common import _WordPressScraper, _WPNavi, WP_LATEST_SEARCH
class OctopusPie(_ParserScraper):
@ -111,6 +112,18 @@ class Optipess(_WPNavi):
textOptional = True
class OrderOfTheBlackDog(_WordPressScraper):
url = 'http://orderoftheblackdog.com/'
stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % 'issue-1-cover'
nextSearch = WP_LATEST_SEARCH
starter = bounceStarter
def namer(self, imageUrl, pageUrl):
# Fix inconsistent filenames
return '%s.%s' % (pageUrl.rsplit('/', 2)[-2], imageUrl.rsplit('.', 1)[-1])
class OriginalLife(_ParserScraper):
url = 'http://jaynaylor.com/originallife/'
stripUrl = url + 'archives/%s.html'