Fix extractor URL for YouTube.

This commit is contained in:
Kavin 2023-06-08 05:30:00 +01:00
parent 164ee66e46
commit 53b03761d5
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -98,7 +98,7 @@ public class ServerLauncher extends MultithreadedHttpServerLauncher {
Multithreading.runAsync(() -> {
try {
Sentry.setExtra("videoId", videoId);
var extractor = YOUTUBE_SERVICE.getStreamExtractor(videoId);
var extractor = YOUTUBE_SERVICE.getStreamExtractor("https://youtube.com/watch?v=" + videoId);
extractor.fetchPage();
Multithreading.runAsync(() -> {