Merge pull request #1263 from litetex/followup-1262

Partial followup for #1262
This commit is contained in:
Stypox 2025-01-26 12:31:40 +01:00 committed by GitHub
commit e0359ab872
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -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.
*
* <p>
* See <a href="https://gist.github.com/adamawolf/3048717">this GitHub Gist</a> for more

View File

@ -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);
}
}
}