diff --git a/stream.py b/stream.py index dc54722..968d0b0 100755 --- a/stream.py +++ b/stream.py @@ -233,7 +233,7 @@ try: except Exception as e: logger.info(e) -async def rewrite(current, provider, proxy): +async def rewrite(current, proxy): ndata = None text = None try: @@ -346,7 +346,7 @@ class MainHandler(tornado.web.RequestHandler): logger.info(upstream) data = None if "mpegurl" in ctype.lower(): - data = rewrite(upstream, provider, proxy) + data = rewrite(upstream, proxy) self.set_header("Content-Type", "application/vnd.apple.mpegurl") self.write(data) else: