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

Errno 111 Connection refuse #11114

Closed
hassanghalami opened this issue Nov 3, 2016 · 1 comment
Closed

Errno 111 Connection refuse #11114

hassanghalami opened this issue Nov 3, 2016 · 1 comment

Comments

@hassanghalami
Copy link

@hassanghalami hassanghalami commented Nov 3, 2016

hi ,
sry for asking but i searched a lot for this issue !
i'm using ubuntu 16.0.4 LTS
i have to use proxy for connect to youtube
i tried : tsocks youtube-dl "https://www.youtube.com/watch?t=4&v=BaW_jenozKc"
i am sure tsocks work correctly because i test it before .
Could u help me plz?
tsocks youtube-dl -v "https://www.youtube.com/watch?t=4&v=BaW_jenozKc"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?t=4&v=BaW_jenozKc']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.02
[debug] Python version 2.7.12 - Linux-4.4.0-45-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.8-0ubuntu0.16.04.1, ffprobe 2.8.8-0ubuntu0.16.04.1
[debug] Proxy map: {}
[youtube] BaW_jenozKc: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 111] Connection refused> (caused by URLError(error(111, 'Connection refused'),))
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 404, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1036, in https_open
req, **kwargs)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 3, 2016

--proxy socks5://proxy:port.

@dstftw dstftw closed this Nov 3, 2016
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.