Add SpaceFurries
This commit is contained in:
parent
e1c7538c44
commit
f7886636cc
1 changed files with 16 additions and 0 deletions
|
@ -369,6 +369,22 @@ class Sorcery101(_ParserScraper):
|
||||||
help = 'Index format: stripname'
|
help = 'Index format: stripname'
|
||||||
|
|
||||||
|
|
||||||
|
class SpaceFurries(_ParserScraper):
|
||||||
|
url = 'http://www.spacefurrs.org/'
|
||||||
|
firstStripUrl = url
|
||||||
|
multipleImagesPerStrip = True
|
||||||
|
adult = True
|
||||||
|
endOfLife = True
|
||||||
|
|
||||||
|
def fetchUrls(self, url, data, urlSearch):
|
||||||
|
# Website requires JS, so build the list of image URLs manually
|
||||||
|
imageUrls = []
|
||||||
|
currentPage = int(data.xpath('//input[@name="pagnum"]')[0].get('value'))
|
||||||
|
for page in reversed(range(1, currentPage + 1)):
|
||||||
|
imageUrls.append(self.url + 'comics/' + str(page) + '.jpg')
|
||||||
|
return imageUrls
|
||||||
|
|
||||||
|
|
||||||
class SpaceJunkArlia(_ParserScraper):
|
class SpaceJunkArlia(_ParserScraper):
|
||||||
url = 'http://spacejunkarlia.com/'
|
url = 'http://spacejunkarlia.com/'
|
||||||
stripUrl = url + '?strip_id=%s'
|
stripUrl = url + '?strip_id=%s'
|
||||||
|
|
Loading…
Reference in a new issue