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 webpage: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed') #25670

Closed
surfmuggle opened this issue Jun 15, 2020 · 3 comments
Labels

Comments

@surfmuggle
Copy link

@surfmuggle surfmuggle commented Jun 15, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.06.06
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones #16324
  • I've read bugs section in FAQ

Verbose log

This is what i get:


C:\>youtube-dl -v "https://www.youtube.com/watch?v=9A-HLSvtBWc"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=9A-HLSvtBWc']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.14393
[debug] exe versions: ffmpeg git-2020-06-03-b6d7c4c, ffprobe git-2020-06-03-b6d7c4c
[debug] Proxy map: {}
[youtube] 9A-HLSvtBWc: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed'),))
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\extractor\common.py", line 627, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\YoutubeDL.py", line 2238, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpd0boo4lk\build\youtube_dl\utils.py", line 2736, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open


Description

I wanted to download a video from youtube. Due to an error message u updated to version 2020-06-06 to download it. I tried

But i stil get the error: Unable to download webpage: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed')

@surfmuggle
Copy link
Author

@surfmuggle surfmuggle commented Jun 15, 2020

Link to #16324 added and verbose output with the use of quotes added

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 15, 2020

DNS issue on your side.

@dstftw dstftw closed this Jun 15, 2020
@dstftw dstftw added the invalid label Jun 15, 2020
@surfmuggle
Copy link
Author

@surfmuggle surfmuggle commented Jun 15, 2020

I am not aware of any DNS trouble. Any hints what i can do?
@dstftw i changed my dns server but the problem still exist. If i can open the youtube url in the browser why would youtube-dl would have difficuties resolving the same address. The only cause that in can think of is that the dns server treats the client "youtube-dl" diffferently than my browser.

  • Are you aware that dns-providers are treating youtube-dl differently?
@ytdl-org ytdl-org deleted a comment from kk-Chiron Jun 20, 2020
@ytdl-org ytdl-org locked and limited conversation to collaborators Jun 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.