logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 6f9f3340bb4c837d86067856e12232fc9695e698
parent ae2384ff5f9d6a18209139a4b2e2cd33921be63a
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  8 Sep 2018 17:24:09 +0700

[dtube] PEP 8 (#17455)

Diffstat:

Myoutube_dl/extractor/dtube.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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