projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc468d
)
Do not pass URLs around in Unicode form (fixes issue #92)
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sat, 20 Feb 2010 23:06:00 +0000
(
00:06
+0100)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:26:34 +0000
(11:26 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 47c64658631ca9581ff62f344aca60595c398e49..fe8a591606a38c243cb1214372d90b505f41e207 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-1578,10
+1578,6
@@
if __name__ == '__main__':
sys.exit(u'ERROR: batch file could not be read')
all_urls = batchurls + args
- # Make sure all URLs are in our preferred encoding
- for i in range(0, len(all_urls)):
- all_urls[i] = unicode(all_urls[i], preferredencoding())
-
# Conflicting, missing and erroneous options
if opts.usenetrc and (opts.username is not None or opts.password is not None):
parser.error(u'using .netrc conflicts with giving username/password')