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

ERROR: Unable to download JSON metadata: <urlopen error [Errno 11002] getaddrinf o failed> (caused by URLError(gaierror(11002, 'getaddrinfo failed'),)) #3909

Closed
NerdGr8 opened this issue Oct 9, 2014 · 3 comments

Comments

@NerdGr8
Copy link

@NerdGr8 NerdGr8 commented Oct 9, 2014

When I enter the following code :

youtube-dl -t "http://www.youtube.com/watch?list=UU1d-wdTNWxPLu
ku4UmcCeVQ"
[debug] System config: []
[debug] User config: ['--extract-audio', '--no-mtime', '--restrict-filenames', '
--verbose']
[debug] Command-line args: ['-t', 'http://www.youtube.com/watch?list=UU1d-wdTNWx
PLuku4UmcCeVQ']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.10.05.2
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] Proxy map: {}

I get the following error
ERROR: Unable to download JSON metadata: <urlopen error [Errno 11002] getaddrinf
o failed> (caused by URLError(gaierror(11002, 'getaddrinfo failed'),))
File "youtube_dl\extractor\common.pyo", line 226, in _request_webpage
File "youtube_dl\YoutubeDL.pyo", line 1266, in urlopen
File "urllib2.pyo", line 410, in open
File "urllib2.pyo", line 523, in http_response
File "urllib2.pyo", line 442, in error
File "urllib2.pyo", line 382, in _call_chain
File "urllib2.pyo", line 629, in http_error_302
File "urllib2.pyo", line 404, in open
File "urllib2.pyo", line 422, in _open
File "urllib2.pyo", line 382, in _call_chain
File "youtube_dl\utils.pyo", line 645, in https_open
File "urllib2.pyo", line 1184, in do_open

@sunk818
Copy link

@sunk818 sunk818 commented Nov 2, 2014

YouTube play list you reference takes me to the YouTube home page. Should that play list URL be going to an actual play list?

@phihag
Copy link
Contributor

@phihag phihag commented Nov 2, 2014

As @sunk818 mentioned, that is not a valid list ID. In any case, getaddrinfo failed is an error of your network - check your network connectivity and DNS settings. We should clarify it in the output that this is the case.

@phihag phihag closed this Nov 2, 2014
@NerdGr8
Copy link
Author

@NerdGr8 NerdGr8 commented Nov 5, 2014

I also cant reproduce the error, I can confirm it was related to DNS settings.

Thanks

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