Add FoxTails
This commit is contained in:
parent
9eacd96f5f
commit
1b8c404a15
1 changed files with 15 additions and 0 deletions
|
@ -121,6 +121,21 @@ class ForLackOfABetterComic(_BasicScraper):
|
||||||
help = 'Index format: number'
|
help = 'Index format: number'
|
||||||
|
|
||||||
|
|
||||||
|
class FoxTails(_ParserScraper):
|
||||||
|
stripUrl = 'http://foxtails.magickitsune.com/strips/%s.html'
|
||||||
|
url = stripUrl % 'current'
|
||||||
|
firstStripUrl = stripUrl % '20041024'
|
||||||
|
imageSearch = '//img[contains(@src, "img/2")]'
|
||||||
|
prevSearch = '//a[./img[contains(@src, "prev")]]'
|
||||||
|
endOfLife = True
|
||||||
|
|
||||||
|
def getPrevUrl(self, url, data):
|
||||||
|
# Include pre-reboot archive
|
||||||
|
if url == self.stripUrl % '20090906':
|
||||||
|
return self.stripUrl % '20090704'
|
||||||
|
return super(FoxTails, self).getPrevUrl(url, data)
|
||||||
|
|
||||||
|
|
||||||
class Fragile(_ParserScraper):
|
class Fragile(_ParserScraper):
|
||||||
url = 'http://www.fragilestory.com/'
|
url = 'http://www.fragilestory.com/'
|
||||||
imageSearch = '//div[@id="comic_strip"]/a[@class="nobg"]/img'
|
imageSearch = '//div[@id="comic_strip"]/a[@class="nobg"]/img'
|
||||||
|
|
Loading…
Reference in a new issue