Skip to content

Commit

Permalink
Fixed "this.innerTube" is null
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeucelli committed Jul 20, 2024
1 parent 19e730e commit d21d4be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ private ArrayList<Stream> fmtStreams() throws Exception {
String title = getTitle();
Stream video;

if(innerTube.getRequireJsPlayer()){
if(innerTube == null || innerTube.getRequireJsPlayer()){
applySignature(streamManifest);
}
for (int i = 0; streamManifest.length() > i; i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class InnerTubeTest {
"https://www.youtube.com/watch?v=60ItHLz5WEA, WEB_CREATOR",

// "https://www.youtube.com/watch?v=60ItHLz5WEA, ANDROID",
"https://www.youtube.com/watch?v=60ItHLz5WEA, ANDROID_EMBED",
// "https://www.youtube.com/watch?v=60ItHLz5WEA, ANDROID_EMBED",
"https://www.youtube.com/watch?v=60ItHLz5WEA, ANDROID_MUSIC",
"https://www.youtube.com/watch?v=60ItHLz5WEA, ANDROID_CREATOR",

Expand Down

0 comments on commit d21d4be

Please sign in to comment.