I'm following the documentation on using youtube-dl from a python script.
But I can't seem to get the output option, specifying the folder I want the download to go into to work:
ydl_opts = {'output':'video'}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download([url])
I've also tried replacing output with o and -o.