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

Is it possible to use castget with a socks5 proxy? #60

Open
igh2 opened this issue Dec 17, 2022 · 2 comments
Open

Is it possible to use castget with a socks5 proxy? #60

igh2 opened this issue Dec 17, 2022 · 2 comments

Comments

@igh2
Copy link

igh2 commented Dec 17, 2022

Is it possible to use castget with a socks5 proxy?

@mlj
Copy link
Owner

mlj commented Dec 18, 2022

castget uses curl so in theory anything that curl supports should work. If I understand the API docs correctly, it should work if you set the environment variable http_proxy like this:

http_proxy=socks5://your.details castget

I don't have a way to test this. If you manage to make it work, please let me know so I can't add it to the documentation.

@igh2
Copy link
Author

igh2 commented Dec 18, 2022

Specifying socks5 in the proxy url works - thank you.

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