projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e16fa
)
Do not use the final URL for -g
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Thu, 11 Mar 2010 21:56:47 +0000
(22:56 +0100)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:26:38 +0000
(11:26 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 97e25f0e232eefaf43a79f13c4c200829c6b4d6e..4530c5da2132340a9ca6d415c65fc004e217ecd7 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-385,7
+385,7
@@
class FileDownloader(object):
# Verify URL if it's an HTTP one
if info_dict['url'].startswith('http'):
try:
-
info_dict['url'] =
self.verify_url(info_dict['url'].encode('utf-8')).decode('utf-8')
+ self.verify_url(info_dict['url'].encode('utf-8')).decode('utf-8')
except (OSError, IOError, urllib2.URLError, httplib.HTTPException, socket.error), err:
raise UnavailableFormatError