projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c9ced9
)
[YoutubeDL] Properly process unable-to-download-error on python2
author
Sergey M․
<dstftw@gmail.com>
Mon, 2 May 2016 12:35:50 +0000
(18:35 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 2 May 2016 12:35:50 +0000
(18:35 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 0554333629b829a2a6cb807546a643713cbd0ad5..4e57c96873498bef4a360ea603d46ef0f5caaad5 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-1639,7
+1639,7
@@
class YoutubeDL(object):
# Just a single file
success = dl(filename, info_dict)
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:
- self.report_error('unable to download video data: %s' % str(err))
+ self.report_error('unable to download video data: %s' %
error_to_compat_
str(err))
return
except (OSError, IOError) as err:
raise UnavailableVideoError(err)