X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fdtube.py;h=5887887e15ef9065515abb1472e06511e55e32c9;hb=140a13f5de1ff8e6bf7ba0d27b38063a2b20fa33;hp=4ca97f8606e8958d60483dc72a6de545cadf165f;hpb=7f34984e811897b65e1b7e3a25cfdb45bf863dcf;p=youtube-dl diff --git a/youtube_dl/extractor/dtube.py b/youtube_dl/extractor/dtube.py index 4ca97f860..5887887e1 100644 --- a/youtube_dl/extractor/dtube.py +++ b/youtube_dl/extractor/dtube.py @@ -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