MenageA3 naming fix
This commit is contained in:
parent
cba9edbdec
commit
050a0dc97c
1 changed files with 9 additions and 0 deletions
|
@ -120,6 +120,15 @@ class MenageA3(_ComicControlScraper):
|
||||||
adult = True
|
adult = True
|
||||||
url = 'http://www.ma3comic.com/'
|
url = 'http://www.ma3comic.com/'
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def namer(cls, imageUrl, pageUrl):
|
||||||
|
"""Remove random junk from image names."""
|
||||||
|
imgname = imageUrl.split('/')[-1]
|
||||||
|
imgbase = imgname.rsplit('-', 1)[1]
|
||||||
|
return '%s' % (imgbase)
|
||||||
|
|
||||||
|
help = 'Index format: name'
|
||||||
|
|
||||||
|
|
||||||
class Metacarpolis(_ComicControlScraper):
|
class Metacarpolis(_ComicControlScraper):
|
||||||
url = 'http://www.metacarpolis.com'
|
url = 'http://www.metacarpolis.com'
|
||||||
|
|
Loading…
Reference in a new issue