title: youtube-dl specify output from python script?
body: <p>I'm following the <a href="https://github.com/rg3/youtube-dl/blob/master/README.md#embedding-youtube-dl" rel="nofollow noreferrer">documentation</a> on using <code>youtube-dl</code> from a python script.</p>
  
  <p>But I can't seem to get the output option, specifying the folder I want the download to go into to work:</p>
  
  <pre><code>ydl_opts = {'output':'video'}                                                                                                                           
  with youtube_dl.YoutubeDL(ydl_opts) as ydl:                                                                                                         
    ydl.download([url])
  </code></pre>
  
  <p>I've also tried replacing <code>output</code> with <code>o</code> and <code>-o</code>.</p>