Fix SlightlyDamned
This commit is contained in:
parent
e24c0ae557
commit
764a8ce6f6
1 changed files with 10 additions and 1 deletions
|
@ -254,7 +254,16 @@ class SleeplessDomain(_ComicControlScraper):
|
|||
|
||||
class SlightlyDamned(_ComicControlScraper):
|
||||
url = 'http://www.sdamned.com/'
|
||||
firstStripUrl = url + 'comic/part-one-to-hell-and-back'
|
||||
firstStripUrl = url + 'comic/prologue'
|
||||
|
||||
def namer(self, imageurl, pageurl):
|
||||
"""Clean up mixed filename formats."""
|
||||
filename = pageurl.rsplit('/', 1)[-1]
|
||||
if filename == '':
|
||||
filename = imageurl.rsplit('-', 1)[-1]
|
||||
else:
|
||||
filename = 'SD' + filename + '.' + imageurl.rsplit('.', 1)[-1]
|
||||
return filename
|
||||
|
||||
|
||||
class SluggyFreelance(_ParserScraper):
|
||||
|
|
Loading…
Reference in a new issue