python ~ youtube-dl: error: no such option: --audio-format -


here code :

call(['youtube-dl', '-i', '--extract-audio', '--audio-format mp3','-w','ytsearch:'+song ,'-o '+song2file(song)+'.%(ext)s'], shell=false) 

note:this implementation of code : youtuble-dl -i --extract-audio --audio-format mp3 -w ytsearch:wham bam -o whambam.%(ext)s song = wham bam, when run cmd works python implementation not working.

on running it, returns me error:

youtube-dl: error: no such option: --audio-format


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -