From 25787dc481d8d9df36a9bcac5eecc1019130b9a7 Mon Sep 17 00:00:00 2001 From: Devoxin Date: Sat, 31 Aug 2024 00:36:17 +0100 Subject: [PATCH] Add back thumbnail extraction to legacy webpage extraction method --- .../lavaplayer/source/vimeo/VimeoAudioSourceManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/vimeo/VimeoAudioSourceManager.java b/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/vimeo/VimeoAudioSourceManager.java index 28109bc7..848376fe 100644 --- a/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/vimeo/VimeoAudioSourceManager.java +++ b/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/vimeo/VimeoAudioSourceManager.java @@ -147,7 +147,9 @@ private AudioTrack loadTrackFromPageContent(String trackUrl, String content) thr (long) (config.get("clip").get("duration").get("raw").as(Double.class) * 1000.0), trackUrl, false, - trackUrl + trackUrl, + config.get("thumbnail").get("src").text(), + null ), this); }