print url
This commit is contained in:
parent
61b91d5166
commit
dedb60af1e
@ -192,6 +192,7 @@ class MainHandler(tornado.web.RequestHandler):
|
|||||||
resp = requests.head(src, allow_redirects=True, proxies=current.req, timeout=2)
|
resp = requests.head(src, allow_redirects=True, proxies=current.req, timeout=2)
|
||||||
if resp is not None:
|
if resp is not None:
|
||||||
src = resp.url
|
src = resp.url
|
||||||
|
print(src)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user