From 91e60f2ab9673cbd2793fc528d741a77136d5719 Mon Sep 17 00:00:00 2001 From: ForgQi <34411314+ForgQi@users.noreply.github.com> Date: Thu, 17 Mar 2022 23:59:28 +0800 Subject: [PATCH] Update twitch.py Revert "Update twitch.py" This reverts commit 8d1ccad6252069abbba2051ba574445b7cd351b0. --- biliup/plugins/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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