mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 09:52:51 +08:00
[dtube] PEP 8 (#17455)
This commit is contained in:
parent
b4a9c66b8b
commit
5ea082446e
@ -59,7 +59,7 @@ class DTubeIE(InfoExtractor):
|
|||||||
try:
|
try:
|
||||||
self.to_screen('%s: Checking %s video format URL' % (video_id, format_id))
|
self.to_screen('%s: Checking %s video format URL' % (video_id, format_id))
|
||||||
self._downloader._opener.open(video_url, timeout=5).close()
|
self._downloader._opener.open(video_url, timeout=5).close()
|
||||||
except timeout as e:
|
except timeout:
|
||||||
self.to_screen(
|
self.to_screen(
|
||||||
'%s: %s URL is invalid, skipping' % (video_id, format_id))
|
'%s: %s URL is invalid, skipping' % (video_id, format_id))
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user