From 156f0238c90256e2f6e557c9466833c7d5698289 Mon Sep 17 00:00:00 2001 From: Kethsar Date: Thu, 1 Feb 2024 13:56:31 -0800 Subject: [PATCH] Properly set LiveURL state value after finding a stream Should fix #171 --- player_response.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player_response.go b/player_response.go index b0f21fe..4759588 100644 --- a/player_response.go +++ b/player_response.go @@ -589,7 +589,7 @@ func (di *DownloadInfo) GetPlayablePlayerResponse() (retrieved int, pr *PlayerRe if isLiveURL { di.URL = fmt.Sprintf("https://www.youtube.com/watch?v=%s", di.VideoID) di.MembersOnly = false - isLiveURL = false + di.LiveURL = false continue }