Merge branch 'renovate/net.dv8tion-jda-5.x' into 'master'

fix(deps): update dependency net.dv8tion:jda to v5.3.1

See merge request anthorob/netneutrality!32
This commit is contained in:
anthorob committed 2025-03-31 15:38:25 +00:00
commit 50e5e704b7
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>5.3.0</version>
<version>5.3.1</version>
</dependency>
<dependency>
<groupId>dev.arbjerg</groupId>
@@ -129,12 +129,11 @@ public class UdioAudioSourceManager implements AudioSourceManager {
}
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 json = DataFormatTools.extractBetween(content, startTag, endTag);
if (json == null) {
if (json == null || json.isEmpty() || json.equals("null")) {
log.error("Track JSON not found in page");
return null;
}