fix(deps): update dependency net.dv8tion:jda to v5.3.1
This commit is contained in:
1 parent
1efab2eb5b
commit
ffd2f05509
2 files changed
+3
-4
No files matched your search
@@ -100,7 +100,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.dv8tion</groupId>
|
<groupId>net.dv8tion</groupId>
|
||||||
<artifactId>JDA</artifactId>
|
<artifactId>JDA</artifactId>
|
||||||
<version>5.3.0</version>
|
<version>5.3.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.arbjerg</groupId>
|
<groupId>dev.arbjerg</groupId>
|
||||||
|
|||||||
@@ -129,12 +129,11 @@ public class UdioAudioSourceManager implements AudioSourceManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected JsonBrowser loadTrackInfoFromPageContent(String content) throws IOException {
|
protected JsonBrowser loadTrackInfoFromPageContent(String content) throws IOException {
|
||||||
String startTag = "self.__next_f.push([1,\"f:";
|
String startTag = "self.__next_f.push([1,\"10:";
|
||||||
String endTag = "\\n\"])";
|
String endTag = "\\n\"])";
|
||||||
|
|
||||||
String json = DataFormatTools.extractBetween(content, startTag, endTag);
|
String json = DataFormatTools.extractBetween(content, startTag, endTag);
|
||||||
|
if (json == null || json.isEmpty() || json.equals("null")) {
|
||||||
if (json == null) {
|
|
||||||
log.error("Track JSON not found in page");
|
log.error("Track JSON not found in page");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user