I wanna use the proxy and run this youtube-dl --proxy socks5://127.0.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?

2

2 Answers

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:

youtube-dl --proxy socks5://127.0.0.1:1080 

If you want to use a proxy for all further invocations, create a configuration file with the contents

--proxy socks5://127.0.0.1:1080 
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:>youtube-dl.exe -proxy

Network Options:

 --proxy URL Use the specified HTTP/HTTPS/SOCKS proxy. To enable SOCKS proxy, specify a proper scheme. For example socks5://127.0.0.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 

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy