[lynda] Pre-test video URLs for HTTP errors (Closes #2185, closes #4782)

This commit is contained in:
Sergey M․ 2015-01-26 00:33:42 +06:00
parent 96a53167fa
commit a57e8ce658

View file

@ -85,6 +85,7 @@ def _real_extract(self, url):
} for format_id, video_url in prioritized_streams['0'].items()
])
self._check_formats(formats, video_id)
self._sort_formats(formats)
if self._downloader.params.get('listsubtitles', False):