Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Address family not supported by protocol #11081
Comments
|
Could you try:
|
|
@yan12125 [debug] System config: [] |
|
Need more information:
This command prints lots of additional information. Could you save all outputs to a file and upload it somewhere? |
|
Seems your DNS server is contaminated. Can you watch this video in browsers? Do you use any VPN or proxy tools? |
|
I can watch this video in browser on my Windows 7 and uses a proxy tool. I also attempted the 'youtube-dl' windows exe file, but could not download video neither. |
|
Let me list what I find from your log and possible solutions:
Above all, you need a proxy on your server, too. FYI, youtube-dl's |
|
As there's no response for a long time, I guess the problem is already solved. Feel free to leave comments or open a new issue if there are still problems. |
I've verified and I assure that I'm running youtube-dl 2016.10.31
At least skimmed through README and most notably FAQ and BUGS sections
Searched the bugtracker for similar issues including closed ones
Bug report (encountered problems with youtube-dl)
Site support request (request for adding support for a new site)
Feature request (request for a new functionality)
Question
Other
./youtube-dl -v https://www.youtube.com/watch?v=OapMBWNgTzU
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=OapMBWNgTzU']
[debug] Encodings: locale ISO-8859-1, fs ISO-8859-1, out ISO-8859-1, pref ISO-8859-1
[debug] youtube-dl version 2016.10.31
[debug] Python version 2.7.3 - Linux-2.6.32_1-15-0-0-x86_64-with-redhat-4.3-Final
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] OapMBWNgTzU: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 97] Address family not supported by protocol> (caused by URLError(error(97, 'Address family not supported by protocol'),))
File "./youtube-dl/youtube_dl/extractor/common.py", line 403, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/home/users/lifu//lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/home/users/lifu//lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/home/users/lifu//lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "./youtube-dl/youtube_dl/utils.py", line 1036, in https_open
req, **kwargs)
File "/home/users/lifu//lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)