From 15f350ae80bb7d6e557dced5f85b50ff11ddf3b8 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Sun, 9 May 2021 11:49:09 +0200 Subject: [PATCH] add proxy to get --- stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.py b/stream.py index b0bb9df..aaf3a70 100755 --- a/stream.py +++ b/stream.py @@ -59,7 +59,7 @@ def rewrite(current, provider): else: if "mpegurl" not in ctype.lower(): return None - resp = requests.get(current) + resp = requests.get(current, proxies=proxy_req) ndata = None if resp.text is not None: ndata = ""