Forget to fetch the page

pull/293/head
TobiGr 2020-03-16 20:50:08 +01:00
rodzic edb57840d7
commit 9eca7df947
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -77,6 +77,7 @@ public class SoundcloudParsingHelper {
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