update youtube_dl
This commit is contained in:
parent
e01a299859
commit
77c85822c7
@ -3,7 +3,7 @@ function run(msg, matches)
|
|||||||
local receiver = get_receiver(msg)
|
local receiver = get_receiver(msg)
|
||||||
text = run_bash("rm tmp/video.mp4 && youtube-dl -o tmp/video.mp4 " .. URL)
|
text = run_bash("rm tmp/video.mp4 && youtube-dl -o tmp/video.mp4 " .. URL)
|
||||||
send_video(get_receiver(msg), "tmp/video.mp4", ok_cb, false)
|
send_video(get_receiver(msg), "tmp/video.mp4", ok_cb, false)
|
||||||
return 'Video wird gesendet! \nDas kann je nach Video bis zu 10 Minuten dauern!'
|
return URL .. ' wurde gedownloadet und wird jetzt gesendet! \nDas kann je nach Video sehr lang dauern! \nAlso habt Gedult!'
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user