1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-16 06:15:46 +00: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):