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 -2 Name or service not known #14171

Closed
prateek-dhanuka opened this issue Sep 11, 2017 · 1 comment
Closed

Error -2 Name or service not known #14171

prateek-dhanuka opened this issue Sep 11, 2017 · 1 comment
Labels

Comments

@prateek-dhanuka
Copy link

@prateek-dhanuka prateek-dhanuka commented Sep 11, 2017

sudo youtube-dl -o '~/Music/youtube-dl/%(uploader)s/%(title)s.%(ext)s' -f bestaudio --netrc ~/.netrc https://www.youtube.com/playlist?list=PL_mhVQDb7a5H1SoYA2RuK8iWcwwMH8849
WARNING: The url doesn't specify the protocol, trying with http
[generic] .netrc: Requesting header
WARNING: Could not send HEAD request to http://~/.netrc: <urlopen error [Errno -2] Name or service not known>
[generic] .netrc: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno -2] Name or service not known> (caused by URLError(gaierror(-2, 'Name or service not known'),))

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 11, 2017

--netrc is argumentless option.

@dstftw dstftw closed this Sep 11, 2017
@dstftw dstftw added the invalid label Sep 11, 2017
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.