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

could you add proxy like youtube-dl thanks #272

Open
chuyume opened this issue Apr 7, 2019 · 1 comment
Open

could you add proxy like youtube-dl thanks #272

chuyume opened this issue Apr 7, 2019 · 1 comment

Comments

@chuyume
Copy link

chuyume commented Apr 7, 2019

coz soundcloud is banned here so i can only access via shadowsocks etc. so i need proxy thanks.
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

@r00t-
Copy link
Contributor

r00t- commented Dec 7, 2021

the http library used appears to respect the standard environment variables,
so simply:

export https_proxy=http://<your proxy>:<port>/

before running scdl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants