diff --git a/biliup/plugins/twitch.py b/biliup/plugins/twitch.py index e79a1b4..4574548 100644 --- a/biliup/plugins/twitch.py +++ b/biliup/plugins/twitch.py @@ -92,7 +92,7 @@ class Twitch(DownloadBase): return port = random.randint(1025, 65535) self.proc = subprocess.Popen([ - "streamlink", "--player-external-http", "--twitch-disable-ads" + "streamlink", "--player-external-http", "--twitch-disable-ads", "--player-external-http-port", str(port),self.url, "best"]) self.raw_stream_url = f"http://localhost:{port}" i = 0