diff --git a/stream.py b/stream.py index 2067826..cd429fa 100755 --- a/stream.py +++ b/stream.py @@ -97,7 +97,7 @@ def upstream_type(current, proxy): resp = requests.head(current, proxies=proxy.req) return resp.headers.get("Content-Type", "binary/octet-stream") -def rewrite(current, provider, proxy, ctype): +def rewrite(current, provider, proxy): resp = requests.get(current, proxies=proxy.req) ndata = None if resp.text is not None: