Skip to content

Commit 5b31ff2

Browse files
authored
iPhone 15 Pro Max instead of 16 in comments
1 parent 45645b0 commit 5b31ff2

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
@@ -213,7 +213,7 @@ private YoutubeParsingHelper() {
213213
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
214214

215215
/**
216-
* The device machine id for the iPhone 16, used to get 60fps with the {@code iOS} client.
216+
* The device machine id for the iPhone 15, used to get 60fps with the {@code iOS} client.
217217
*
218218
* <p>
219219
* See <a href="https://gist.github.com/adamawolf/3048717">this GitHub Gist</a> for more
@@ -223,15 +223,15 @@ private YoutubeParsingHelper() {
223223
private static final String IOS_DEVICE_MODEL = "iPhone16,2";
224224

225225
/**
226-
* Spoofing an iPhone 16 Pro Max running iOS 18.1.0 with the hardcoded version of the iOS app.
226+
* Spoofing an iPhone 15 Pro Max running iOS 18.1.0 with the hardcoded version of the iOS app.
227227
* To be used for the {@code "osVersion"} field in JSON POST requests.
228228
* <p>
229229
* The value of this field seems to use the following structure:
230230
* "iOS major version.minor version.patch version.build version", where
231231
* "patch version" is equal to 0 if it isn't set
232232
* The build version corresponding to the iOS version used can be found on
233-
* <a href="https://theapplewiki.com/wiki/Firmware/iPhone/18.x#iPhone_16_Pro_Max">
234-
* https://theapplewiki.com/wiki/Firmware/iPhone/18.x#iPhone_16_Pro_Max</a>
233+
* <a href="https://theapplewiki.com/wiki/Firmware/iPhone/18.x#iPhone_15_Pro_Max">
234+
* https://theapplewiki.com/wiki/Firmware/iPhone/18.x#iPhone_15_Pro_Max</a>
235235
* </p>
236236
*
237237
* @see #IOS_USER_AGENT_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 16 Pro Max running iOS 18.1.0 with the hardcoded version of the iOS app
1415+
// Spoofing an iPhone 15 Pro Max running iOS 18.1.0 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)