Capitalize comic names.
This commit is contained in:
parent
6422405af1
commit
5c34baa663
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ _nextSearch = compile(_linkSearch + tagre("img", "class", "arrow_next"))
|
|||
_lastSearch = compile(_linkSearch + tagre("img", "class", "arrow_last"))
|
||||
|
||||
def add(name):
|
||||
classname = 'DrunkDuck_%s' % name
|
||||
classname = 'DrunkDuck_%s' % name.capitalize()
|
||||
_url = 'http://www.drunkduck.com/%s/' % name
|
||||
|
||||
@classmethod
|
||||
|
|
|
@ -13,7 +13,7 @@ _nextSearch = compile(tagre("a", "href", r'(/[^"]+/\d+/\d+/\d+)', after="next"))
|
|||
|
||||
def add(name, shortname):
|
||||
baseUrl = 'http://www.gocomics.com'
|
||||
classname = 'GoComics_%s' % name
|
||||
classname = 'GoComics_%s' % name.capitalize()
|
||||
|
||||
@classmethod
|
||||
def namer(cls, imageUrl, pageUrl):
|
||||
|
|
|
@ -15,7 +15,7 @@ _prevSearch = compile(tagre("a", "href", r'([^"]*/d/\d{8}\.html)') +
|
|||
')')
|
||||
|
||||
def add(name, url):
|
||||
classname = 'KeenSpot_%s' % name
|
||||
classname = 'KeenSpot_%s' % name.capitalize()
|
||||
if '/d/' in url:
|
||||
stripUrl = url.split('/d/')[0] + '/d/%s.html'
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue