Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url error #4199

Closed
Dransfield opened this issue Nov 15, 2014 · 1 comment
Closed

url error #4199

Dransfield opened this issue Nov 15, 2014 · 1 comment

Comments

@Dransfield
Copy link

@Dransfield Dransfield commented Nov 15, 2014

youtube-dl -f 36 --verbose -a download.txt

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '36', '--verbose', '-a', 'download.txt']
[debug] Batch file urls: [u'h\x00t\x00t\x00p\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00t\x00O\x00G\x00n\x00v\x00j\x00Z\x00I\x003\x006\x008\x00', u'\x00"\x00h\x00t\x00t\x00p\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00e\x00J\x00_\x00L\x00F\x002\x00N\x00t\x00q\x004\x00g\x00"\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00h\x00W\x00i\x00t\x00t\x00D\x00p\x00P\x00o\x00Z\x004\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00D\x00R\x00G\x00I\x00Y\x00k\x00M\x00W\x00L\x00t\x00Y\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00e\x00I\x00k\x00d\x005\x00_\x00j\x001\x00b\x00I\x00w\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00n\x00o\x00e\x00x\x00n\x00d\x00Y\x007\x000\x00r\x00A\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00f\x001\x00y\x00t\x00R\x00v\x00o\x00d\x00B\x002\x004\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00I\x00W\x00O\x00Y\x00Z\x00Z\x00c\x00O\x00f\x00w\x00g\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00Y\x00v\x004\x00D\x00h\x00X\x00o\x00p\x007\x00J\x004\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00i\x00C\x00F\x00O\x00n\x00A\x00e\x00-\x009\x00B\x00M\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x009\x00N\x00i\x00U\x00Q\x00P\x00P\x00x\x00i\x00t\x008\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00s\x00z\x00f\x00h\x00R\x00R\x00x\x00J\x00N\x00m\x00Q\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00F\x008\x001\x00F\x00L\x00K\x00-\x00w\x00f\x005\x00Y\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00m\x00t\x00t\x00Z\x00l\x004\x00G\x00R\x00s\x00F\x00Q\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00E\x00f\x00L\x00x\x00C\x003\x007\x001\x00v\x002\x000\x00', u'\x00h\x00t\x00t\x00p\x00s\x00:\x00/\x00/\x00w\x00w\x00w\x00.\x00y\x00o\x00u\x00t\x00u\x00b\x00e\x00.\x00c\x00o\x00m\x00/\x00w\x00a\x00t\x00c\x00h\x00?\x00v\x00=\x00V\x00b\x00C\x00u\x007\x003\x00i\x00S\x00X\x00Z\x008\x00']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.14
[debug] Python version 2.7.6 - Linux-3.12.6-i686-with-Quirky-6.0.5-tahr
[debug] exe versions: avconv 9.10-6, avprobe 9.10-6, ffmpeg 9.10-6
[debug] Proxy map: {}
WARNING: The url doesn't specify the protocol, trying with http
[generic] watch?v=tOGnvjZI368: Requesting header
WARNING: Could not send HEAD request to http://http://www.youtube.com/watch?v=tOGnvjZI368: nonnumeric port: ''
[generic] watch?v=tOGnvjZI368: Downloading webpage
ERROR: Unable to download webpage: nonnumeric port: '' (caused by InvalidURL(u"nonnumeric port: '\x00'",)); please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 232, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1298, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1153, in do_open
h = http_class(host, timeout=req.timeout) # will parse host:port
File "/usr/lib/python2.7/httplib.py", line 704, in init
self._set_hostport(host, port)
File "/usr/lib/python2.7/httplib.py", line 732, in _set_hostport
raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])

\

@Dransfield
Copy link
Author

@Dransfield Dransfield commented Nov 15, 2014

oh my text file wasnt set to the right encoding, sorry it works now ;)

@phihag phihag closed this Nov 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.