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.
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')))