From dedb60af1ea4750b631377ba771e3d35b1dbc9c4 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Thu, 13 May 2021 07:56:49 +0200 Subject: [PATCH] print url --- stream.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stream.py b/stream.py index 628bebd..aaa8a36 100755 --- a/stream.py +++ b/stream.py @@ -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: