Update plugins/alldownloader.js
Browse files- plugins/alldownloader.js +1 -1
plugins/alldownloader.js
CHANGED
@@ -234,7 +234,7 @@ AllDlRoutes.get('/api/v1/dl/youtube', authenticateApiKey, apiLimiter, async (req
|
|
234 |
|
235 |
const resolutions = Object.keys(results.video);
|
236 |
console.log(resolutions);
|
237 |
-
const video_url = await
|
238 |
/*
|
239 |
if (resolutions.length > 0) {
|
240 |
const videoDownload = await results.video[resolutions[0]].download();
|
|
|
234 |
|
235 |
const resolutions = Object.keys(results.video);
|
236 |
console.log(resolutions);
|
237 |
+
const video_url = await results.video[resolutions[0]].download()
|
238 |
/*
|
239 |
if (resolutions.length > 0) {
|
240 |
const videoDownload = await results.video[resolutions[0]].download();
|