ilhamdev commited on
Commit
9758b02
·
verified ·
1 Parent(s): be5be9a

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -246,7 +246,7 @@ const app = express()
246
  if (!ytId) return res.json({ message: 'No video id found' });
247
  let data = await yts({ videoId: ytId });
248
  const downloadUrls = {
249
- audio: `${host}/yt?url=${url}&type=audio&quality=`,
250
  video: `${host}/yt?url=${url}&type=video&quality=`,
251
  };
252
  return res.json({
 
246
  if (!ytId) return res.json({ message: 'No video id found' });
247
  let data = await yts({ videoId: ytId });
248
  const downloadUrls = {
249
+ audio: `${host}/yt?url=${url}&type=audio&quality=128kbps`,
250
  video: `${host}/yt?url=${url}&type=video&quality=`,
251
  };
252
  return res.json({