Add KeenSpot/GeneCatlowAlternate
This commit is contained in:
parent
6cfe67536e
commit
7f1ffff3ac
1 changed files with 7 additions and 1 deletions
|
@ -10,6 +10,8 @@ class KeenSpot(_ParserScraper):
|
||||||
multipleImagesPerStrip = True
|
multipleImagesPerStrip = True
|
||||||
imageSearch = (
|
imageSearch = (
|
||||||
'//img[contains(@src, "/comics/")]',
|
'//img[contains(@src, "/comics/")]',
|
||||||
|
# Gene Catlow Alternate
|
||||||
|
'//img[contains(@src, "/altcomics/")]',
|
||||||
# Shockwave Darkside
|
# Shockwave Darkside
|
||||||
'//img[contains(@src, "/comics2D/")]',
|
'//img[contains(@src, "/comics2D/")]',
|
||||||
'//img[contains(@src, "com/shockwave")]',
|
'//img[contains(@src, "com/shockwave")]',
|
||||||
|
@ -34,7 +36,7 @@ class KeenSpot(_ParserScraper):
|
||||||
)
|
)
|
||||||
help = 'Index format: yyyymmdd'
|
help = 'Index format: yyyymmdd'
|
||||||
|
|
||||||
def __init__(self, name, sub, last=None, path='d/%s.html'):
|
def __init__(self, name, sub, last=None, adult=False, path='d/%s.html'):
|
||||||
super(KeenSpot, self).__init__('KeenSpot/' + name)
|
super(KeenSpot, self).__init__('KeenSpot/' + name)
|
||||||
self.url = 'http://%s.keenspot.com/' % sub
|
self.url = 'http://%s.keenspot.com/' % sub
|
||||||
self.stripUrl = self.url + path
|
self.stripUrl = self.url + path
|
||||||
|
@ -43,12 +45,16 @@ class KeenSpot(_ParserScraper):
|
||||||
self.url = self.stripUrl % last
|
self.url = self.stripUrl % last
|
||||||
self.endOfLife = True
|
self.endOfLife = True
|
||||||
|
|
||||||
|
if adult:
|
||||||
|
self.adult = adult
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getmodules(cls):
|
def getmodules(cls):
|
||||||
return (
|
return (
|
||||||
# Not on frontpage...
|
# Not on frontpage...
|
||||||
cls('Buzzboy', 'buzzboy'),
|
cls('Buzzboy', 'buzzboy'),
|
||||||
cls('EveryoneLovesAdis', 'adis'),
|
cls('EveryoneLovesAdis', 'adis'),
|
||||||
|
cls('GeneCatlowAlternate', 'genecatlow', last='20170302', adult=True, path='altd/%s.html'),
|
||||||
|
|
||||||
# do not edit anything below since these entries are generated from
|
# do not edit anything below since these entries are generated from
|
||||||
# scripts/update_plugins.sh
|
# scripts/update_plugins.sh
|
||||||
|
|
Loading…
Reference in a new issue