YoutubeIE: extract the correct video id for movie URLs (closes #597)

master
Jaime Marquínez Ferrándiz 2013-07-01 16:51:18 +02:00
parent 53936f3d57
commit bcd6e4bd07
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class YoutubeIE(InfoExtractor):
(?: # the various things that can precede the ID:
(?:(?:v|embed|e)/) # v/ or embed/ or e/
|(?: # or the v= param in all its forms
(?:watch(?:_popup)?(?:\.php)?)? # preceding watch(_popup|.php) or nothing (like /?v=xxxx)
(?:watch|movie(?:_popup)?(?:\.php)?)? # preceding watch(_popup|.php) or nothing (like /?v=xxxx)
(?:\?|\#!?) # the params delimiter ? or # or #!
(?:.*?&)? # any other preceding param (like /?s=tuff&v=xxxx)
v=