File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,8 @@ private YoutubeParsingHelper() {
239
239
private static final String IOS_OS_VERSION = "18.1.0.22B83" ;
240
240
241
241
/**
242
- * Spoofing an iPhone 15 Pro Max running iOS 18.1.0 with the hardcoded version of the iOS app. To be
243
- * used in the user agent for requests.
242
+ * Spoofing an iPhone 15 Pro Max running iOS 18.1.0 with the hardcoded version of the iOS app.
243
+ * To be used in the user agent for requests.
244
244
*
245
245
* @see #IOS_OS_VERSION
246
246
*/
@@ -1412,7 +1412,8 @@ public static String getAndroidUserAgent(@Nullable final Localization localizati
1412
1412
*/
1413
1413
@ Nonnull
1414
1414
public static String getIosUserAgent (@ Nullable final Localization localization ) {
1415
- // Spoofing an iPhone 15 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 hardcoded version of the iOS
1416
+ // app
1416
1417
return "com.google.ios.youtube/" + IOS_YOUTUBE_CLIENT_VERSION
1417
1418
+ "(" + IOS_DEVICE_MODEL + "; U; CPU iOS "
1418
1419
+ IOS_USER_AGENT_VERSION + " like Mac OS X; "
You can’t perform that action at this time.
0 commit comments