Closure-RI commited on
Commit
839afe6
·
verified ·
1 Parent(s): 9ac4a34

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +3 -0
index.js CHANGED
@@ -360,6 +360,9 @@ async function getAudioMP3Url(videoUrl) {
360
 
361
  await new Promise((resolve, reject) => {
362
  ffmpeg()
 
 
 
363
  .input(video.url)
364
  .outputOptions('-f mp3')
365
  .outputOptions('-acodec libmp3lame')
 
360
 
361
  await new Promise((resolve, reject) => {
362
  ffmpeg()
363
+ .inputOptions('-protocol_whitelist file,http,https,tcp,tls')
364
+ .inputOptions('-err_detect ignore_err')
365
+ .outputOptions('-strict experimental')
366
  .input(video.url)
367
  .outputOptions('-f mp3')
368
  .outputOptions('-acodec libmp3lame')