Take Djandora from Internet Archive
This commit is contained in:
parent
d6e255ea4a
commit
f05a8c33d4
1 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
||||||
# Copyright (C) 2012-2014 Bastian Kleineidam
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
||||||
# Copyright (C) 2015-2017 Tobias Gruetzmacher
|
# Copyright (C) 2015-2020 Tobias Gruetzmacher
|
||||||
|
|
||||||
from __future__ import absolute_import, division, print_function
|
from __future__ import absolute_import, division, print_function
|
||||||
|
|
||||||
|
@ -27,14 +27,16 @@ class PetiteSymphony(_WPNavi):
|
||||||
|
|
||||||
|
|
||||||
class ComicsBreak(_WordPressScraper):
|
class ComicsBreak(_WordPressScraper):
|
||||||
|
def __init__(self, name, archive=None):
|
||||||
def __init__(self, name):
|
|
||||||
super(ComicsBreak, self).__init__('ComicsBreak/' + name)
|
super(ComicsBreak, self).__init__('ComicsBreak/' + name)
|
||||||
self.url = 'http://%s.comicsbreak.com/' % name.lower()
|
self.url = 'http://%s.comicsbreak.com/' % name.lower()
|
||||||
|
if archive:
|
||||||
|
self.url = 'https://web.archive.org/web/{}/{}'.format(
|
||||||
|
archive, self.url)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getmodules(cls):
|
def getmodules(cls):
|
||||||
return (
|
return (
|
||||||
cls("Djandora"),
|
cls('Djandora', archive='20170923062433'),
|
||||||
cls("Generation17"),
|
cls("Generation17"),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue