conf: try one more thing for yt
This commit is contained in:
parent
45e7d67c93
commit
605a2487b3
3 changed files with 30 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue