randydev commited on
Commit
8b81b8c
·
verified ·
1 Parent(s): 42bec60

Update plugins/alldownloader.js

Browse files
Files changed (1) hide show
  1. 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 data.video[resolutions[0]].download()
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();