mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-04-29 16:30:29 +05:30
Fix extractor URL for YouTube.
This commit is contained in:
parent
164ee66e46
commit
53b03761d5
@ -98,7 +98,7 @@ public class ServerLauncher extends MultithreadedHttpServerLauncher {
|
|||||||
Multithreading.runAsync(() -> {
|
Multithreading.runAsync(() -> {
|
||||||
try {
|
try {
|
||||||
Sentry.setExtra("videoId", videoId);
|
Sentry.setExtra("videoId", videoId);
|
||||||
var extractor = YOUTUBE_SERVICE.getStreamExtractor(videoId);
|
var extractor = YOUTUBE_SERVICE.getStreamExtractor("https://youtube.com/watch?v=" + videoId);
|
||||||
extractor.fetchPage();
|
extractor.fetchPage();
|
||||||
|
|
||||||
Multithreading.runAsync(() -> {
|
Multithreading.runAsync(() -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user