diff --git a/YoutubeExplode/Videos/VideoId.cs b/YoutubeExplode/Videos/VideoId.cs index 0deb1757..4f486743 100644 --- a/YoutubeExplode/Videos/VideoId.cs +++ b/YoutubeExplode/Videos/VideoId.cs @@ -75,9 +75,9 @@ private static bool IsValid(string videoId) => // Live URL // https://www.youtube.com/live/jfKfPfyJRdk - var liveMatch = Regex - .Match(videoIdOrUrl, @"youtube\..+?/live/(.*?)(?:\?|&|/|$)") - .Groups[1].Value.Pipe(WebUtility.UrlDecode); + var liveMatch = Regex.Match(videoIdOrUrl, @"youtube\..+?/live/(.*?)(?:\?|&|/|$)").Groups[ + 1 + ].Value.Pipe(WebUtility.UrlDecode); if (!string.IsNullOrWhiteSpace(liveMatch) && IsValid(liveMatch)) return liveMatch;