conf: try one more thing for yt

This commit is contained in:
GiovaniFZ 2024-10-19 13:37:31 -03:00
parent 45e7d67c93
commit 605a2487b3
3 changed files with 30 additions and 2 deletions

View file

@ -86,8 +86,7 @@ module.exports = (bot) => {
},
);
const ffmpegLocation = '--ffmpeg-location /usr/bin/ffmpeg'
const dlpArgs = [ffmpegLocation, videoUrl, videoFormat, ...cmdArgs.split(' '), mp4File];
const dlpArgs = [videoUrl, videoFormat, ...cmdArgs.split(' '), mp4File];
await downloadFromYoutube(dlpCommand, dlpArgs);
await ctx.telegram.editMessageText(