forked from Supositware/Haha-Yes
Make sure it can't download playlist
This commit is contained in:
parent
408c24e0b8
commit
88358b8d80
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class ytpCommand extends Command {
|
|||
}
|
||||
|
||||
if (url) {
|
||||
return youtubedl.exec(url, ['--max-filesize', '50m', '--format=mp4', '-o', `./asset/ytp/userVid/${message.id}.mp4`], {}, function(err, output) {
|
||||
return youtubedl.exec(url, ['--no-playlist ','--max-filesize', '50m', '--format=mp4', '-o', `./asset/ytp/userVid/${message.id}.mp4`], {}, function(err, output) {
|
||||
console.log(output);
|
||||
if (err) {
|
||||
console.error(err);
|
||||
|
|
Loading…
Reference in a new issue