]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/dtube.py
Update upstream source from tag 'upstream/2018.11.07'
[youtubedl] / youtube_dl / extractor / dtube.py
index 4ca97f8606e8958d60483dc72a6de545cadf165f..5887887e15ef9065515abb1472e06511e55e32c9 100644 (file)
@@ -59,7 +59,7 @@ class DTubeIE(InfoExtractor):
             try:
                 self.to_screen('%s: Checking %s video format URL' % (video_id, format_id))
                 self._downloader._opener.open(video_url, timeout=5).close()
-            except timeout as e:
+            except timeout:
                 self.to_screen(
                     '%s: %s URL is invalid, skipping' % (video_id, format_id))
                 continue