Skip to content

Commit 4b16b7e

Browse files
authored
YoutubeParsingHelper: update IOS client
1 parent e0359ab commit 4b16b7e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private YoutubeParsingHelper() {
175175
* Store page of the YouTube app</a>, in the {@code What’s New} section.
176176
* </p>
177177
*/
178-
private static final String IOS_YOUTUBE_CLIENT_VERSION = "19.45.4";
178+
private static final String IOS_YOUTUBE_CLIENT_VERSION = "20.03.02";
179179

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

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

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

250250
private static Random numberGenerator = new Random();
251251

0 commit comments

Comments
 (0)