--no-playlist and --max-filesize does not work anymore
This commit is contained in:
parent
d3ea32464a
commit
e81c9b4860
@ -6,7 +6,7 @@ function run(msg, matches)
|
||||
if string.match(msg.text, '"') then
|
||||
return 'Vergiss es'
|
||||
else
|
||||
text = run_bash("youtube-dl -o tmp/video.mp4 --no-playlist --no-continue --max-filesize 15m " .. URL)
|
||||
text = run_bash("youtube-dl -o tmp/video.mp4 --no-continue " .. URL)
|
||||
send_video(get_receiver(msg), "tmp/video.mp4", ok_cb, false)
|
||||
return URL .. ' wurde gedownloadet und wird jetzt gesendet! \nDas kann je nach Video sehr lang dauern! \nAlso habt Geduld!'
|
||||
end
|
||||
|
Reference in New Issue
Block a user