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> <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;
} }