|
@@ -166,7 +166,9 @@ class Handler(socketserver.BaseRequestHandler):
|
|
|
# through the QUICK_IMAGES interface.
|
|
# through the QUICK_IMAGES interface.
|
|
|
if hostname == 'web.archive.org':
|
|
if hostname == 'web.archive.org':
|
|
|
conn.close()
|
|
conn.close()
|
|
|
- return self.redirect_page(http_version, '/'.join(request_url.split('/')[5:]), 301)
|
|
|
|
|
|
|
+ archived_url = '/'.join(request_url.split('/')[5:])
|
|
|
|
|
+ _print('[r] [QI]', archived_url)
|
|
|
|
|
+ return self.redirect_page(http_version, archived_url, 301)
|
|
|
|
|
|
|
|
# consume all data
|
|
# consume all data
|
|
|
data = conn.read()
|
|
data = conn.read()
|