Accessing youtube video stream map (python)
<p>I'm trying to write a python script that will download a youtube video, using this line of code for getting the download url:</p>

<pre><code>download_url = "http://www.youtube.com/get_video?video_id={0}&amp;t={1}&amp;fmt=22&amp;asv=2".format(video_id, token_value)
</code></pre>

<p>(video_id and token_values being info I've got from parsing youtube video url)
but this keeps downloading empty file. </p>

<p>Since this method is old, is there now some other form of getting download url for youtube videos?</p>