mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-01-22 09:01:17 +01:00
Merge pull request #848 from TiA4f8R/fix_yt_music_website_extraction_eu
[YouTube] Fix extracting YouTube Music client version and key in the EU
This commit is contained in:
commit
1dc80957d8
@ -853,7 +853,7 @@ public final class YoutubeParsingHelper {
|
||||
musicKey = getStringResultFromRegexArray(response, INNERTUBE_API_KEY_REGEXES, 1);
|
||||
musicClientName = Parser.matchGroup1(INNERTUBE_CLIENT_NAME_REGEX, response);
|
||||
} catch (final Exception e) {
|
||||
final String url = "https://music.youtube.com/";
|
||||
final String url = "https://music.youtube.com/?ucbcb=1";
|
||||
final Map<String, List<String>> headers = new HashMap<>();
|
||||
addCookieHeader(headers);
|
||||
final String html = getDownloader().get(url, headers).responseBody();
|
||||
|
Loading…
x
Reference in New Issue
Block a user