set cookies
This commit is contained in:
parent
81a2ad79dd
commit
0ba6f50d6f
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ module.exports = (bot) => {
|
||||||
const videoUrl = ctx.message.text.split(' ').slice(1).join(' ');
|
const videoUrl = ctx.message.text.split(' ').slice(1).join(' ');
|
||||||
|
|
||||||
const mp4File = `tmp/${userId}.mp4`;
|
const mp4File = `tmp/${userId}.mp4`;
|
||||||
const cmdArgs = "--max-filesize 2G --no-playlist --merge-output-format mp4 -o";
|
const cmdArgs = "--max-filesize 2G --no-playlist --cookies props/cookies.txt --merge-output-format mp4 -o";
|
||||||
const dlpCommand = ytDlpPath;
|
const dlpCommand = ytDlpPath;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue