mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-14 14:20:29 +05:30
Merge pull request #622 from TeamPiped/extractor-url
Fix extractor URL for YouTube
This commit is contained in:
commit
4fe67ff336
@ -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…
Reference in New Issue
Block a user