From fcbf9096dfa8e0e86a045c88a0337dae6c7cca70 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Sat, 2 Dec 2023 15:12:42 -0500 Subject: [PATCH] Fix missing source quality --- extractor/twitch/Stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractor/twitch/Stream.go b/extractor/twitch/Stream.go index 637e6fc..5dc0135 100644 --- a/extractor/twitch/Stream.go +++ b/extractor/twitch/Stream.go @@ -19,7 +19,7 @@ func GetStream(streamerName string, withAudioOnly bool) (string, error) { if withAudioOnly { params = fmt.Sprintf("?sig=%s&token=%s&acmb=e30=&allow_source=true&allow_audio_only=true&fast_bread=true&p=4189675&player_backend=mediaplayer&playlist_include_framerate=true&reassignments_supported=true&transcode_mode=cbr_v1&cdm=wv&player_version=1.20.0", signature, token) } else { - params = fmt.Sprintf("?sig=%s&token=%s&acmb=e30=&fast_bread=true&p=4189675&player_backend=mediaplayer&playlist_include_framerate=true&reassignments_supported=true&transcode_mode=cbr_v1&cdm=wv&player_version=1.20.0", signature, token) + params = fmt.Sprintf("?sig=%s&token=%s&acmb=e30=&allow_source=true&fast_bread=true&p=4189675&player_backend=mediaplayer&playlist_include_framerate=true&reassignments_supported=true&transcode_mode=cbr_v1&cdm=wv&player_version=1.20.0", signature, token) } req, err := http.NewRequest("GET", playlistUrl+params, nil)