[lynda] Pre-test video URLs for HTTP errors (Closes #2185, closes #4782)
authorSergey M․ <dstftw@gmail.com>
Sun, 25 Jan 2015 18:33:42 +0000 (00:33 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 25 Jan 2015 18:33:42 +0000 (00:33 +0600)
youtube_dl/extractor/lynda.py

index 26e84970d49463068f032dcf05afbc03e485e859..762cefa34ec35aa172102a5bbe9f78c129bdef92 100644 (file)
@@ -85,6 +85,7 @@ class LyndaIE(SubtitlesInfoExtractor):
                 } 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):