Add OrderOfTheBlackDog
This commit is contained in:
parent
15a5953120
commit
44b65f9aac
1 changed files with 14 additions and 1 deletions
|
@ -7,9 +7,10 @@ from __future__ import absolute_import, division, print_function
|
||||||
|
|
||||||
from re import compile, escape
|
from re import compile, escape
|
||||||
|
|
||||||
|
from ..helpers import bounceStarter
|
||||||
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, WP_LATEST_SEARCH
|
||||||
|
|
||||||
|
|
||||||
class OctopusPie(_ParserScraper):
|
class OctopusPie(_ParserScraper):
|
||||||
|
@ -111,6 +112,18 @@ class Optipess(_WPNavi):
|
||||||
textOptional = True
|
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):
|
class OriginalLife(_ParserScraper):
|
||||||
url = 'http://jaynaylor.com/originallife/'
|
url = 'http://jaynaylor.com/originallife/'
|
||||||
stripUrl = url + 'archives/%s.html'
|
stripUrl = url + 'archives/%s.html'
|
||||||
|
|
Loading…
Reference in a new issue