print url

This commit is contained in:
Roy Olav Purser 2021-05-13 07:56:49 +02:00
parent 61b91d5166
commit dedb60af1e
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -192,6 +192,7 @@ class MainHandler(tornado.web.RequestHandler):
resp = requests.head(src, allow_redirects=True, proxies=current.req, timeout=2)
if resp is not None:
src = resp.url
print(src)
except Exception as e:
print(e)
else: