Fix Shifters
This commit is contained in:
parent
22865e0a1b
commit
61deb8900b
1 changed files with 12 additions and 4 deletions
|
@ -209,10 +209,18 @@ class Sheldon(_BasicScraper):
|
|||
help = 'Index format: yymmdd'
|
||||
|
||||
|
||||
class Shifters(WordPressNavi):
|
||||
url = 'http://shiftersonline.com/'
|
||||
stripUrl = url + '%s/'
|
||||
firstStripUrl = stripUrl % 'shifters-redux-promo'
|
||||
class Shifters(ParserScraper):
|
||||
baseUrl = 'https://shiftersonline.com/'
|
||||
url = baseUrl + 'series/shifters-redux/'
|
||||
stripUrl = baseUrl + 'comic/%s/'
|
||||
firstStripUrl = stripUrl % 'chapter-1-pg-1'
|
||||
imageSearch = '//div[@id="spliced-comic"]//span[@class="default-lang"]//img'
|
||||
prevSearch = '//a[@class="previous-comic"]'
|
||||
latestSearch = '//div[@id="comic-archive-list"]//a'
|
||||
starter = indirectStarter
|
||||
|
||||
def namer(self, imageUrl, pageUrl):
|
||||
return pageUrl.rsplit('/', 2)[1] + '.' + imageUrl.rsplit('.', 1)[-1]
|
||||
|
||||
|
||||
class ShipInABottle(WordPressScraper):
|
||||
|
|
Loading…
Reference in a new issue