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.
I tried to download via proxy my private from youtube but got connection refused.
What I tried:
youtube-dl --verbose -s -j --user-agent "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)" --proxy name:password@X.X.80.180 http://www.youtube.com/watch?v=j8mW06gHL6k
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-s', '-j', '--user-agent', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)', '--proxy', 'name:password@X.X.80.180', 'http://www.youtube.com/watch?v=j8mW06gHL6k']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.02
[debug] Python version 2.7.1 - Darwin-11.4.2-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {u'http': 'name:password@X.X.80.180', u'https': 'name:password@X.X.80.180'}
ERROR: Unable to download webpage: <urlopen error [Errno 61] Connection refused> (caused by URLError(error(61, 'Connection refused'),))
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 300, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1575, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(_args)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 665, in https_open
req, *_kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1174, in do_open
raise URLError(err)