aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-02-21 00:06:00 +0100
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:26:34 +0100
commitbd3cdf6dc42d48d010fad03d8d601b3920c7a8a7 (patch)
tree99f19a0fffccf741ac833522d084b9ab5e5dafa7
parent8cc468de759d5fb729edb0f150fce91159b75e5d (diff)
Do not pass URLs around in Unicode form (fixes issue #92)
-rwxr-xr-xyoutube-dl4
1 files changed, 0 insertions, 4 deletions
diff --git a/youtube-dl b/youtube-dl
index 47c646586..fe8a59160 100755
--- 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')