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 8e23f1912..0cc9391be 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 @@ -213,7 +213,8 @@ public final class YoutubeParsingHelper { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; /** - * The device machine id for the iPhone 15, used to get 60fps with the {@code iOS} client. + * The device machine id for the iPhone 15 Pro Max, + * used to get 60fps with the {@code iOS} client. * *
* See this GitHub Gist for more diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/utils/ProtoBuilder.java b/extractor/src/main/java/org/schabi/newpipe/extractor/utils/ProtoBuilder.java index f0e223a9c..0ced5bed2 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/utils/ProtoBuilder.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/utils/ProtoBuilder.java @@ -2,6 +2,7 @@ package org.schabi.newpipe.extractor.utils; import java.io.ByteArrayOutputStream; import java.io.IOException; +import java.io.UncheckedIOException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.util.Base64; @@ -39,7 +40,7 @@ public class ProtoBuilder { } } } catch (final IOException e) { - throw new RuntimeException(e); + throw new UncheckedIOException(e); } } @@ -66,7 +67,7 @@ public class ProtoBuilder { try { byteBuffer.write(bytes); } catch (final IOException e) { - throw new RuntimeException(e); + throw new UncheckedIOException(e); } } }