Update twitch.py
Revert "Update twitch.py" This reverts commit 8d1ccad6252069abbba2051ba574445b7cd351b0.
This commit is contained in:
1 parent
60a9066fbd
commit
91e60f2ab9
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user