It uses a helper method in the InfoExtractor class. The downloader will pick the requested formats using the bitrate in the info dict.
For some videos the resolution is not included in the url, we will need to look in the m3u8 manifest.
youtube-dl -j http://www.twitch.tv/fang_i3anger still fails though.
Fixes #3356
The only time that write_string should fail is if the Python is completely braindead. Check for that condition and output a more accurate warning. See #3326 for details.
This is the default already. If you want a specific format, pick it with -o or --id.
* Push down the deprecated ones * Roughly order file-name, no-*, write-*, further options
These options are rarely necessary. Hide them to make the important options in the general group more obvious.
I still get 403s on YouTube though.
Fixes #3326 Apparently, on some platforms, even outputting this fails already.