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

[vk.com] ERROR: urlopen error no host given #5987

Closed
spvkgn opened this issue Jun 15, 2015 · 1 comment
Closed

[vk.com] ERROR: urlopen error no host given #5987

spvkgn opened this issue Jun 15, 2015 · 1 comment

Comments

@spvkgn
Copy link

@spvkgn spvkgn commented Jun 15, 2015

~ $ youtube-dl -v https://vk.com/video-33682639_171418174                                                                                  
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://vk.com/video-33682639_171418174']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.15
[debug] Python version 2.7.9 - Linux-3.2.0-79-generic-pae-i686-with-LinuxMint-13-maya
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3, rtmpdump 2.4
[debug] Proxy map: {}
[vk.com] -33682639_171418174: Downloading webpage
WARNING: The url doesn't specify the protocol, trying with http
[generic] video: Requesting header
WARNING: Could not send HEAD request to http:///swf/video.swf?78: <urlopen error no host given>
[generic] video: Downloading webpage
ERROR: Unable to download webpage: <urlopen error no host given> (caused by URLError('no host given',))
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 312, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1730, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 631, in http_open
    req)
  File "/usr/lib/python2.7/urllib2.py", line 1163, in do_open
    raise URLError('no host given')
@dstftw dstftw closed this in 054932f Jun 15, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 15, 2015

Will be fixed in the next version. Thanks for the report.

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.