Merge pull request #1051 from Theta-Dev/fix/ytm-client-version-rg

[YouTube] fix: set musicClientVersion regex capture group
This commit is contained in:
Tobi 2023-04-16 23:48:19 +02:00 committed by GitHub
commit b2b426048f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ public final class YoutubeParsingHelper {
musicKey = getStringResultFromRegexArray(html, INNERTUBE_API_KEY_REGEXES, 1);
musicClientVersion = getStringResultFromRegexArray(html,
INNERTUBE_CONTEXT_CLIENT_VERSION_REGEXES);
INNERTUBE_CONTEXT_CLIENT_VERSION_REGEXES, 1);
musicClientName = Parser.matchGroup1(INNERTUBE_CLIENT_NAME_REGEX, html);
}