ilhamdev commited on
Commit
0a1cdb4
·
verified ·
1 Parent(s): 2b5ed1e

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -278,7 +278,7 @@ function formatSize(bytes, si = false, dp = 2) {
278
  return `${bytes.toFixed(dp)} ${units[u]}`;
279
  }
280
 
281
- async function ytmp4(url, quality = 'highestvideo') {
282
  try {
283
  const info = await youtubedl.getInfo(url);
284
  const videoStream = youtubedl(url, {
@@ -309,7 +309,7 @@ async function ytmp4(url, quality = 'highestvideo') {
309
  }
310
  }
311
 
312
- async function ytmp3(url, bitrate = 'lowestaudio') {
313
  try {
314
  const info = await youtubedl.getInfo(url);
315
  const audioStream = youtubedl(url, {
 
278
  return `${bytes.toFixed(dp)} ${units[u]}`;
279
  }
280
 
281
+ async function ytmp4(url, quality = 'highest') {
282
  try {
283
  const info = await youtubedl.getInfo(url);
284
  const videoStream = youtubedl(url, {
 
309
  }
310
  }
311
 
312
+ async function ytmp3(url, bitrate = 'lowest') {
313
  try {
314
  const info = await youtubedl.getInfo(url);
315
  const audioStream = youtubedl(url, {