نمیدونم! شما یه دستور با پروکسی که جواب میده بذارید ممنون میشم.
bisavad@rayane:~$ man youtube-dl
bisavad@rayane:~$ youtube-dl "https://www.youtube.com/watch?v=mPbNbdhoGS4" --proxy socks5://127.0.0.1:9050
[youtube] mPbNbdhoGS4: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(error('Tunnel connection failed: 501 Tor is not an HTTP Proxy',),))
bisavad@rayane:~$ youtube-dl "https://www.youtube.com/watch?v=mPbNbdhoGS4" --proxy "socks5://127.0.0.1:9050"
[youtube] mPbNbdhoGS4: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(error('Tunnel connection failed: 501 Tor is not an HTTP Proxy',),))
bisavad@rayane:~$ youtube-dl -v "https://www.youtube.com/watch?v=mPbNbdhoGS4" --proxy "socks5://127.0.0.1:9050"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=mPbNbdhoGS4', u'--proxy', u'socks5://127.0.0.1:9050']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.22
[debug] Python version 2.7.12 - Linux-4.4.0-34-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.6-1ubuntu2, ffprobe 2.8.6-1ubuntu2, rtmpdump 2.4
[debug] Proxy map: {u'http': u'socks5://127.0.0.1:9050', u'https': u'socks5://127.0.0.1:9050'}
[youtube] mPbNbdhoGS4: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(error('Tunnel connection failed: 501 Tor is not an HTTP Proxy',),))
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 355, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1905, 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/lib/python2.7/dist-packages/youtube_dl/utils.py", line 831, in https_open
req, **kwargs)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
bisavad@rayane:~$ youtube-dl -v "mPbNbdhoGS4" --proxy "socks5://127.0.0.1:9050"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'mPbNbdhoGS4', u'--proxy', u'socks5://127.0.0.1:9050']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.22
[debug] Python version 2.7.12 - Linux-4.4.0-34-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.6-1ubuntu2, ffprobe 2.8.6-1ubuntu2, rtmpdump 2.4
[debug] Proxy map: {u'http': u'socks5://127.0.0.1:9050', u'https': u'socks5://127.0.0.1:9050'}
[youtube] mPbNbdhoGS4: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(error('Tunnel connection failed: 501 Tor is not an HTTP Proxy',),))
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 355, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1905, 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/lib/python2.7/dist-packages/youtube_dl/utils.py", line 831, in https_open
req, **kwargs)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
bisavad@rayane:~$ youtube-dl "mPbNbdhoGS4" --proxy "socks5://127.0.0.1:9050"
[youtube] mPbNbdhoGS4: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(error('Tunnel connection failed: 501 Tor is not an HTTP Proxy',),))
bisavad@rayane:~$ youtube-dl "mPbNbdhoGS4" --proxy 127.0.0.1:9050
[youtube] mPbNbdhoGS4: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(error('Tunnel connection failed: 501 Tor is not an HTTP Proxy',),))
bisavad@rayane:~$ youtube-dl "https://www.youtube.com/watch?v=mPbNbdhoGS4" --proxy 127.0.0.1:9050
[youtube] mPbNbdhoGS4: Downloading webpage
ERROR: Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(error('Tunnel connection failed: 501 Tor is not an HTTP Proxy',),))