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

unable to download video data: <urlopen error [Errno 8] nodename nor servname provided, or not known> #3200

Open
shshank opened this issue Jul 5, 2014 · 4 comments

Comments

@shshank
Copy link

@shshank shshank commented Jul 5, 2014

$ youtube-dl -t http://www.youtube.com/watch?v=Yr14Io0wsiU
[youtube] Setting language
[youtube] Yr14Io0wsiU: Downloading webpage
[youtube] Yr14Io0wsiU: Downloading video info webpage
[youtube] Yr14Io0wsiU: Extracting video information
ERROR: unable to download video data: urlopen error [Errno 8] nodename nor servname provided, or not known

This is with 2014.06.26, on OSX 10.9.2

Please tell me how can I provide more information to help troubleshoot this problem.
Thanks a lot.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 5, 2014

Post the full output you get when running with --verbose option

@shshank
Copy link
Author

@shshank shshank commented Jul 5, 2014

$ youtube-dl -t --verbose http://www.youtube.com/watch?v=Yr14Io0wsiU
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-t', '--verbose', 'http://www.youtube.com/watch?v=Yr14Io0wsiU']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.26
[debug] Python version 2.7.5 - Darwin-13.1.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Yr14Io0wsiU: Downloading webpage
[youtube] Yr14Io0wsiU: Downloading video info webpage
[youtube] Yr14Io0wsiU: Extracting video information
ERROR: unable to download video data: <urlopen error [Errno 8] nodename nor servname provided, or not known>
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1020, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 996, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 291, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
data = self.ydl.urlopen(request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1225, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 591, in https_open
return self.do_open(HTTPSConnectionV3, req)
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: urlopen error [Errno 8] nodename nor servname provided, or not known

@cyberjacob
Copy link
Contributor

@cyberjacob cyberjacob commented Jun 8, 2017

Sounds like you might have a DNS problem, could you confirm your internet connection is working correctly?

Use something like ping www.youtube.com to check.

@Knight1
Copy link

@Knight1 Knight1 commented Aug 13, 2018

This also shows up if you force IPv6 but IPv6 is not routable, disabled, what ever.

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
4 participants
You can’t perform that action at this time.