fix: formatting

This commit is contained in:
ThetaDev 2023-03-21 22:56:22 +01:00
parent f2c167f2dd
commit d32f8a2d9e
1 changed files with 129 additions and 133 deletions

View File

@ -1484,7 +1484,6 @@ public final class YoutubeParsingHelper {
/**
* Create a map with the required cookie header.
*
* @return A singleton map containing the header.
*/
public static Map<String, List<String>> getCookieHeader() {
@ -1804,9 +1803,6 @@ public final class YoutubeParsingHelper {
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.
* <p>