Skip to content

Commit 28a9bdf

Browse files
committed
fix iPhone version in comments
1 parent c8edc9a commit 28a9bdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private YoutubeParsingHelper() {
239239
private static final String IOS_OS_VERSION = "18.1.0.22B83";
240240

241241
/**
242-
* Spoofing an iPhone 15 running iOS 18.1.0 with the hardcoded version of the iOS app. To be
242+
* Spoofing an iPhone 16 Pro Max running iOS 18.1.0 with the hardcoded version of the iOS app. To be
243243
* used in the user agent for requests.
244244
*
245245
* @see #IOS_OS_VERSION
@@ -1412,7 +1412,7 @@ public static String getAndroidUserAgent(@Nullable final Localization localizati
14121412
*/
14131413
@Nonnull
14141414
public static String getIosUserAgent(@Nullable final Localization localization) {
1415-
// Spoofing an iPhone 15 running iOS 17.5.1 with the hardcoded version of the iOS app
1415+
// Spoofing an iPhone 16 Pro Max running iOS 17.5.1 with the hardcoded version of the iOS app
14161416
return "com.google.ios.youtube/" + IOS_YOUTUBE_CLIENT_VERSION
14171417
+ "(" + IOS_DEVICE_MODEL + "; U; CPU iOS "
14181418
+ IOS_USER_AGENT_VERSION + " like Mac OS X; "

0 commit comments

Comments
 (0)