Im trying to figure out how to use youtube-dl using a python script, I want to download mp3 only & can't figure out how to use "postprocessor_args" option. Does it take a string or a dict of options & what options are available ?
I tried reading the source code but could not find where or how the "postprocessor_args" is to be used
import youtube_dl
options = {'outtmpl': '%(id)s%(ext)s'
'postprocessor_args': "What to add here? dict or string?"
}
ydl = youtube_dl.YoutubeDL(options)
with ydl:
result = ydl.extract_info(
'http://www.youtube.com/watch?v=xxxxxx',
download=False # We just want to extract the info
)