fix: formatting
This commit is contained in:
parent
f2c167f2dd
commit
d32f8a2d9e
|
@ -839,7 +839,7 @@ public final class YoutubeParsingHelper {
|
||||||
musicClientName = Parser.matchGroup1(INNERTUBE_CLIENT_NAME_REGEX, html);
|
musicClientName = Parser.matchGroup1(INNERTUBE_CLIENT_NAME_REGEX, html);
|
||||||
}
|
}
|
||||||
|
|
||||||
youtubeMusicKey = new String[]{musicKey, musicClientName, musicClientVersion};
|
youtubeMusicKey = new String[] {musicKey, musicClientName, musicClientVersion};
|
||||||
return youtubeMusicKey;
|
return youtubeMusicKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1484,7 +1484,6 @@ public final class YoutubeParsingHelper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a map with the required cookie header.
|
* Create a map with the required cookie header.
|
||||||
*
|
|
||||||
* @return A singleton map containing the header.
|
* @return A singleton map containing the header.
|
||||||
*/
|
*/
|
||||||
public static Map<String, List<String>> getCookieHeader() {
|
public static Map<String, List<String>> getCookieHeader() {
|
||||||
|
@ -1804,9 +1803,6 @@ public final class YoutubeParsingHelper {
|
||||||
return consentAccepted;
|
return consentAccepted;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final Pattern AUDIO_STREAM_TYPE_REGEX =
|
|
||||||
Pattern.compile("&xtags=[\\w%]*acont(?:=|%3D)([a-z]+)(?:=|%3D|:|%3A|&|$)");
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extract the audio track type from a YouTube stream URL.
|
* Extract the audio track type from a YouTube stream URL.
|
||||||
* <p>
|
* <p>
|
||||||
|
|
Loading…
Reference in New Issue