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

youtube_dl.utils.ExtractorError: Unable to download webpage #21540

Closed
M10AC opened this issue Jun 27, 2019 · 0 comments
Closed

youtube_dl.utils.ExtractorError: Unable to download webpage #21540

M10AC opened this issue Jun 27, 2019 · 0 comments
Labels

Comments

@M10AC
Copy link

@M10AC M10AC commented Jun 27, 2019

Hi, download is not possibile at the moment because of this error:

ERROR: Unable to download webpage: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed')))
Traceback (most recent call last):
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1016, in _send_output
self.send(msg)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 956, in send
self.connect()
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1384, in connect
super().connect()
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 928, in connect
(self.host,self.port), self.timeout, self.source_address)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Download\TESI\youtube-dl-master\youtube_dl\extractor\common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "D:\Download\TESI\youtube-dl-master\youtube_dl\YoutubeDL.py", line 2227, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 543, in _open
'_open', req)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "D:\Download\TESI\youtube-dl-master\youtube_dl\utils.py", line 1140, in https_open
req, **kwargs)
File "C:\Users\AM\AppData\Local\Programs\Python\Python37\lib\urllib\request.py", line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Download\TESI\youtube-dl-master\youtube_dl\YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "D:\Download\TESI\youtube-dl-master\youtube_dl\extractor\common.py", line 530, in extract
ie_result = self._real_extract(url)
File "D:\Download\TESI\youtube-dl-master\youtube_dl\extractor\generic.py", line 2267, in _real_extract
full_response = self._request_webpage(request, video_id)
File "D:\Download\TESI\youtube-dl-master\youtube_dl\extractor\common.py", line 645, in _request_webpage
raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
youtube_dl.utils.ExtractorError: Unable to download webpage: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:/Download/TESI/youtube-dl-master/NEWytDownload.py", line 63, in
ydl.download([url])
File "D:\Download\TESI\youtube-dl-master\youtube_dl\YoutubeDL.py", line 2008, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "D:\Download\TESI\youtube-dl-master\youtube_dl\YoutubeDL.py", line 819, in extract_info
self.report_error(compat_str(e), e.format_traceback())
File "D:\Download\TESI\youtube-dl-master\youtube_dl\YoutubeDL.py", line 624, in report_error
self.trouble(error_message, tb)
File "D:\Download\TESI\youtube-dl-master\youtube_dl\YoutubeDL.py", line 594, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Unable to download webpage: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed')))

@dstftw dstftw closed this Jun 27, 2019
@dstftw dstftw added the incomplete label Jun 27, 2019
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.