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'
|
help = 'Index format: yymmdd'
|
||||||
|
|
||||||
|
|
||||||
class Shifters(WordPressNavi):
|
class Shifters(ParserScraper):
|
||||||
url = 'http://shiftersonline.com/'
|
baseUrl = 'https://shiftersonline.com/'
|
||||||
stripUrl = url + '%s/'
|
url = baseUrl + 'series/shifters-redux/'
|
||||||
firstStripUrl = stripUrl % 'shifters-redux-promo'
|
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):
|
class ShipInABottle(WordPressScraper):
|
||||||
|
|
Loading…
Reference in a new issue