Migrate GoComics to single-class module.
This commit is contained in:
parent
2c8e57bdea
commit
807bee6342
2 changed files with 879 additions and 3456 deletions
File diff suppressed because it is too large
Load diff
|
@ -52,8 +52,8 @@ class GoComicsUpdater(ComicListUpdater):
|
|||
self.handle_url('http://www.gocomics.com/explore/sherpa_list')
|
||||
|
||||
def get_entry(self, name, url):
|
||||
return u"class GC%s(_GoComics%s):\n path = %r" % (
|
||||
name, 'Es' if 'espanol/' in url else '', url[1:])
|
||||
langopt = ", 'es'" if 'espanol/' in url else ''
|
||||
return u"cls('%s', '%s'%s)," % (name, url[1:], langopt)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue