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