Fix Shifters

This commit is contained in:
Techwolf 2023-06-07 00:20:25 -07:00 committed by Tobias Gruetzmacher
parent 22865e0a1b
commit 61deb8900b
No known key found for this signature in database

View file

@ -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):