diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java index f514b61d61..1f69f0d3af 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java @@ -174,7 +174,7 @@ private YoutubeParsingHelper() { * Store page of the YouTube app, in the {@code What’s New} section. *

*/ - private static final String IOS_YOUTUBE_CLIENT_VERSION = "19.28.1"; + private static final String IOS_YOUTUBE_CLIENT_VERSION = "19.45.4"; /** * The hardcoded client version used for InnerTube requests with the TV HTML5 embed client. @@ -235,7 +235,7 @@ private YoutubeParsingHelper() { * * @see #IOS_USER_AGENT_VERSION */ - private static final String IOS_OS_VERSION = "17.5.1.21F90"; + private static final String IOS_OS_VERSION = "18.1.0.22B83"; /** * Spoofing an iPhone 15 running iOS 17.5.1 with the hardcoded version of the iOS app. To be @@ -243,7 +243,7 @@ private YoutubeParsingHelper() { * * @see #IOS_OS_VERSION */ - private static final String IOS_USER_AGENT_VERSION = "17_5_1"; + private static final String IOS_USER_AGENT_VERSION = "18_1_0"; private static Random numberGenerator = new Random(); @@ -1394,7 +1394,7 @@ public static String getAndroidUserAgent(@Nullable final Localization localizati public static String getIosUserAgent(@Nullable final Localization localization) { // Spoofing an iPhone 15 running iOS 17.5.1 with the hardcoded version of the iOS app return "com.google.ios.youtube/" + IOS_YOUTUBE_CLIENT_VERSION - + "(" + IOS_DEVICE_MODEL + "; U; CPU iOS " + + " (" + IOS_DEVICE_MODEL + "; U; CPU iOS " + IOS_USER_AGENT_VERSION + " like Mac OS X; " + (localization != null ? localization : Localization.DEFAULT).getCountryCode() + ")";