1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-22 08:55:34 +08:00

[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 @@ class LyndaIE(SubtitlesInfoExtractor):
} for format_id, video_url in prioritized_streams['0'].items() } for format_id, video_url in prioritized_streams['0'].items()
]) ])
self._check_formats(formats, video_id)
self._sort_formats(formats) self._sort_formats(formats)
if self._downloader.params.get('listsubtitles', False): if self._downloader.params.get('listsubtitles', False):