Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private YoutubeParsingHelper() {
* Store page of the YouTube app</a>, in the {@code What’s New} section.
* </p>
*/
private static final String IOS_YOUTUBE_CLIENT_VERSION = "19.45.4";
private static final String IOS_YOUTUBE_CLIENT_VERSION = "20.03.02";

/**
* The hardcoded client version used for InnerTube requests with the TV HTML5 embed client.
Expand Down Expand Up @@ -224,7 +224,7 @@ private YoutubeParsingHelper() {
private static final String IOS_DEVICE_MODEL = "iPhone16,2";

/**
* Spoofing an iPhone 15 Pro Max running iOS 18.1.0 with the hardcoded version of the iOS app.
* Spoofing an iPhone 15 Pro Max running iOS 18.2.1 with the hardcoded version of the iOS app.
* To be used for the {@code "osVersion"} field in JSON POST requests.
* <p>
* The value of this field seems to use the following structure:
Expand All @@ -237,15 +237,15 @@ private YoutubeParsingHelper() {
*
* @see #IOS_USER_AGENT_VERSION
*/
private static final String IOS_OS_VERSION = "18.1.0.22B83";
private static final String IOS_OS_VERSION = "18.2.1.22C161";

/**
* Spoofing an iPhone 15 Pro Max running iOS 18.1.0 with the hardcoded version of the iOS app.
* Spoofing an iPhone 15 Pro Max running iOS 18.2.1 with the hardcoded version of the iOS app.
* To be used in the user agent for requests.
*
* @see #IOS_OS_VERSION
*/
private static final String IOS_USER_AGENT_VERSION = "18_1_0";
private static final String IOS_USER_AGENT_VERSION = "18_2_1";

private static Random numberGenerator = new Random();

Expand Down