title: How can I extract video ID from YouTube's link in Python?
body: <p>I know this can be easily done using PHP's <code>parse_url</code> and <code>parse_str</code> functions:</p>
  
  <pre><code>$subject = "http://www.youtube.com/watch?v=z_AbfPXTKms&amp;NR=1";
  $url = parse_url($subject);
  parse_str($url['query'], $query);
  var_dump($query);
  </code></pre>
  
  <p>But how to achieve this using Python? I can do <code>urlparse</code> but what next?</p>