[youtube] Try to extract the video_info from the webpage before requesting the 'get_v...
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 30 Nov 2014 19:56:32 +0000 (20:56 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 30 Nov 2014 19:56:32 +0000 (20:56 +0100)
commit4e62ebe25013b07dd43e27eea37710b2c374455f
treea0494d13c51b1fa725ac336b55298f5c8ebbc0f5
parent4472f84f0c09eba9720e3447fc8c0b7b19a8c20e
[youtube] Try to extract the video_info from the webpage before requesting the 'get_video_info' pages

The YouTube player doesn't seem to use them except for embedded videos, so we can skip a network request.
But they still provide better error mesagges (for removed videos for example).
youtube_dl/extractor/youtube.py