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 error #3725

Closed
professorxuk opened this issue Sep 11, 2014 · 1 comment
Closed

Unable to download webpage error #3725

professorxuk opened this issue Sep 11, 2014 · 1 comment

Comments

@professorxuk
Copy link

@professorxuk professorxuk commented Sep 11, 2014

python youtube-dl "ht
tps://www.youtube.com/watch?v=Xr9f-hwZAtw" -ci -f best -x --no-mtime --add-metadata --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=Xr9f-hwZAtw', '-ci', '-f', 'best', '-x', '--no-mt
ime', '--add-metadata', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.09.10.1
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {'ftp': 'ftp://default.proxy.fs.fujitsu.com:80', 'http': 'http://default.proxy.fs.fujitsu.c
om:80', 'https': 'https://default.proxy.fs.fujitsu.com:80'}
[youtube] Setting language
WARNING: unable to set language: <urlopen error [Errno 11004] getaddrinfo failed>
[youtube] Xr9f-hwZAtw: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 11004] getaddrinfo failed>
File "youtube-dl\youtube_dl\extractor\common.py", line 211, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "youtube-dl\youtube_dl\YoutubeDL.py", line 1244, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Python27\lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 422, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "youtube-dl\youtube_dl\utils.py", line 626, in https_open
return self.do_open(HTTPSConnectionV3, req)
File "C:\Python27\lib\urllib2.py", line 1184, in do_open
raise URLError(err)

This is on my work laptop - Windows 7 64 bit, python 3.4.1/2.7.8.
However, it works on my desktop - same network, OS and python.

@professorxuk
Copy link
Author

@professorxuk professorxuk commented Sep 11, 2014

Solved by using the proxy option --proxy ""
Happy days!

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