Merge branch 'master' of github.com:wummel/dosage
This commit is contained in:
commit
bc6279f2ab
1 changed files with 4 additions and 3 deletions
|
@ -346,7 +346,7 @@ class SnowFlakes(_BasicScraper):
|
||||||
def starter(cls):
|
def starter(cls):
|
||||||
return cls.stripUrl % ('530', '5')
|
return cls.stripUrl % ('530', '5')
|
||||||
|
|
||||||
def getStripIndexUrl(self, index):
|
def getIndexStripUrl(self, index):
|
||||||
return self.stripUrl % (index, index[0])
|
return self.stripUrl % (index, index[0])
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -382,8 +382,9 @@ class SnowFlame(_BasicScraper):
|
||||||
tagre("a", "href", r'(%s\?comic=snowflame[^"]+)' % rurl)))
|
tagre("a", "href", r'(%s\?comic=snowflame[^"]+)' % rurl)))
|
||||||
help = 'Index format: chapter-page'
|
help = 'Index format: chapter-page'
|
||||||
|
|
||||||
def getStripIndexUrl(self, index):
|
def getIndexStripUrl(self, index):
|
||||||
return self.stripUrl % index.split('-')
|
print(index)
|
||||||
|
return self.stripUrl % tuple(index.split('-'))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def namer(cls, imageUrl, pageUrl):
|
def namer(cls, imageUrl, pageUrl):
|
||||||
|
|
Loading…
Reference in a new issue