mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
set cookies
This commit is contained in:
parent
81a2ad79dd
commit
0ba6f50d6f
@ -60,7 +60,7 @@ module.exports = (bot) => {
|
||||
const videoUrl = ctx.message.text.split(' ').slice(1).join(' ');
|
||||
|
||||
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;
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user