Skip to content

Commit

Permalink
Forget to fetch the page
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiGr committed Mar 16, 2020
1 parent edb5784 commit 9eca7df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ static boolean checkIfHardcodedClientIdIsValid() {
try {
SoundcloudStreamExtractor e = (SoundcloudStreamExtractor) SoundCloud
.getStreamExtractor("https://soundcloud.com/liluzivert/do-what-i-want-produced-by-maaly-raw-don-cannon");
e.fetchPage();
return e.getAudioStreams().size() >= 1;
} catch (Exception ignored) {
// No need to throw an exception here. If something went wrong, the client_id is wrong
Expand Down

0 comments on commit 9eca7df

Please sign in to comment.