diff --git a/stream.py b/stream.py index 41ebc7a..b0bb9df 100755 --- a/stream.py +++ b/stream.py @@ -50,7 +50,7 @@ if icecast_server is not None and stream_server is not None: def rewrite(current, provider): proxy_req = proxies_req.get(provider) - proxy = proxies.get(provider) + proxy = proxies_raw.get(provider) resp = requests.head(current, proxies=proxy_req) ctype = resp.headers.get("Content-Type") print(ctype)