• March 23, 2024

Dl Proxy

how to run youtube-dl through proxy server - Ask Ubuntu

how to run youtube-dl through proxy server – Ask Ubuntu

i want to download youtube video through youtube-dl through proxy server but it shows authentication required
code:
_proxy=”username:password@proxy:port/” youtube-dl url
it shows authentication error
asked Nov 1 ’12 at 7:40
proxychains youtube-dl [options] LINK
proxychans uses the tor service by default, if you have your own proxy, edit the last line of the /etc/ file.
sudo apt-get install proxychains tor obfsproxy
If you want to use tor, configure it to use obfs2.
Luís de Sousa12. 5k23 gold badges68 silver badges117 bronze badges
answered Jun 22 ’13 at 14:41
minimini2, 0158 gold badges31 silver badges53 bronze badges
2
you can use proxy option for command.
youtube-dl –proxy socks5127. 0. 1:1080 url
If you want to use a proxy for all further invocations, create a configuration file
Linux/OSX: ~/
Windows:%APPDATA%\youtube-dl\
with the contents
–proxy socks5127. 1:1080
answered Apr 23 ’18 at 13:24
netawaternetawater2112 silver badges3 bronze badges
for current version of youtube-dl you can use switch –proxy
e. g.
$youtube-dl –proxy url
works for me just fine
answered Nov 20 ’15 at 9:50
kajienkkajienk611 silver badge1 bronze badge
That syntax of invokation is now deprecated.
From the help page:
–proxy URL Use the specified HTTP/HTTPS proxy. Pass in an empty string (–proxy “”) for direct connection
–cn-verification-proxy URL Use this proxy to verify the IP address for some Chinese sites. The default proxy specified by –proxy (or none, if the options is not present) is used for the actual downloading.
So unless you’re using Chinese proxies, the command should be:
youtube-dl [OPTIONS] –proxy ‘(s)PROXY_URL:PROXY_PORT’ URL
Choosing between or depending on the proxy type.
You could also try testing your proxy using urllib2 directly:
#! /usr/bin/python
import urllib2
import sys
url = [1]
response = urllib2. urlopen(url)
html_string = ()
print html_string
answered Mar 10 ’15 at 13:46
chibby0nechibby0ne511 silver badge2 bronze badges
Not the answer you’re looking for? Browse other questions tagged proxy youtube-dl or ask your own question.
how to use proxy on youtube-dl? - Stack Overflow

how to use proxy on youtube-dl? – Stack Overflow

I wanna use the proxy and run this
youtube-dl –proxy socks5127. 0. 1:1080
this is an error below
Usage: youtube-dl [OPTIONS] URL [URL… ]
youtube-dl: error: You must provide at least one URL.
what is the problem here?
asked Mar 22 ’17 at 9:38
2
The option –proxy… just applies to that invocation of youtube-dl. To download a video using a proxy, add the video URL to the command line, like this:
If you want to use a proxy for all further invocations, create a configuration file with the contents
–proxy socks5127. 1:1080
answered Mar 22 ’17 at 10:06
1
How to download video and Playlist from youtube using youtube-dl
Step 1. Download exe file from
I used the following command to download in windows 8. 1
E:> -proxy
Network Options:
–proxy URL Use the specified HTTP/HTTPS/SOCKS proxy.
To enable SOCKS proxy, specify a proper
scheme. For example
socks5127. 1:1080/. Pass in an empty
string (–proxy “”) for direct connection
–socket-timeout SECONDS Time to wait before giving up, in seconds
–source-address IP Client-side IP address to bind to
-4, –force-ipv4 Make all connections via IPv4
-6, –force-ipv6 Make all connections via IPv6
answered May 11 ’20 at 6:07
Vinod JoshiVinod Joshi7, 20247 silver badges50 bronze badges
Not the answer you’re looking for? Browse other questions tagged youtube-dl or ask your own question.
Youtube-dl - How to proxy? - VideoHelp Forum

Youtube-dl – How to proxy? – VideoHelp Forum

I used this proxy site:
and chose this proxy as my first choice (good guess because it is downloading fine):
89. 36. 222. 170:88
Proxies change all the time, so it may not work later. Free proxies can be problematic.
Put into youtube-dl to get available resolutions:
Code:
youtube-dl –proxy “89. 170:88” -F I chose 640×360 (which corresponds to 18) from below list on command line output.
Final code for download:
youtube-dl –proxy “89. 170:88” -f 18 Direct link to video:
(161MB)
Command line output:
Microsoft Windows XP [Version 5. 1. 2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\default>cd..
C:\Documents and Settings>cd..
C:\>cd youtube-dl
C:\youtube-dl>youtube-dl –proxy “89. 170:88” -F atch? v=kqzkN0kSmmo
[youtube] kqzkN0kSmmo: Downloading webpage
[youtube] kqzkN0kSmmo: Downloading video info webpage
[youtube] kqzkN0kSmmo: Extracting video information
WARNING: unable to extract uploader nickname
[youtube] kqzkN0kSmmo: Downloading MPD manifest
[info] Available formats for kqzkN0kSmmo:
format code extension resolution note
139 m4a audio only DASH audio 50k, m4a_dash container, mp4a. 4
0. 5@ 48k (22050Hz), 10. 15MiB
249 webm audio only DASH audio 61k, opus @ 50k, 9. 89MiB
250 webm audio only DASH audio 72k, opus @ 70k, 12. 22MiB
171 webm audio only DASH audio 88k, vorbis@128k, 17. 59MiB
251 webm audio only DASH audio 117k, opus @160k, 21. 65MiB
140 m4a audio only DASH audio 129k, m4a_dash container, mp4a. 2@128k (44100Hz), 27. 10MiB
278 webm 256×144 144p 116k, webm container, vp9, 25fps, vide
o only, 21. 09MiB
160 mp4 256×144 DASH video 119k, avc1. 4d400c, 25fps, video
only, 23. 66MiB
133 mp4 426×240 DASH video 253k, avc1. 4d4015, 25fps, video
only, 52. 38MiB
242 webm 426×240 240p 257k, vp9, 25fps, video only, 48. 98MiB
243 webm 640×360 360p 486k, vp9, 25fps, video only, 90. 51MiB
134 mp4 640×360 DASH video 641k, avc1. 4d401e, 25fps, video
only, 133. 87MiB
244 webm 854×480 480p 891k, vp9, 25fps, video only, 166. 83Mi
B
135 mp4 854×480 DASH video 1178k, avc1. 4d401e, 25fps, video
only, 246. 13MiB
247 webm 1280×720 720p 1751k, vp9, 25fps, video only, 335. 85Mi
136 mp4 1280×720 DASH video 2351k, avc1. 4d401f, 25fps, video
only, 491. 05MiB
248 webm 1920×1080 1080p 3202k, vp9, 25fps, video only, 600. 30M
iB
137 mp4 1920×1080 DASH video 4409k, avc1. 640028, 25fps, video
only, 921. 79MiB
17 3gp 176×144 small, mp4v. 20. 3, mp4a. 40. 2@ 24k
36 3gp 320×180 small, mp4v. 2
43 webm 640×360 medium, vp8. 0, vorbis@128k
18 mp4 640×360 medium, avc1. 42001E, mp4a. 2@ 96k
22 mp4 1280×720 hd720, avc1. 64001F, mp4a. 2@192k (best)
C:\youtube-dl>youtube-dl –proxy “89. 170:88” -f 18 m/watch? v=kqzkN0kSmmo
[download] Destination: Conor McGregor v Nate Diaz _ UFC 196 _ Full Fight-kqzkN0
4
[download] 39. 5% of 157. 25MiB at 126. 20KiB/s ETA 12:51

Frequently Asked Questions about dl proxy

Leave a Reply

Your email address will not be published. Required fields are marked *