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

socks5 with DNS-requests #32696

Open
1 of 3 tasks
zeiha opened this issue Jan 17, 2024 · 2 comments
Open
1 of 3 tasks

socks5 with DNS-requests #32696

zeiha opened this issue Jan 17, 2024 · 2 comments
Labels

Comments

@zeiha
Copy link

zeiha commented Jan 17, 2024

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2021.12.17
  • I've searched the bugtracker for similar feature requests including closed ones

Description

Using SOCKS-proxy (e.g. socks5://) is already implemented meanwhile, but unfortunately it does not work with DNS-requests (e.g. socks5h://). Is there a possibility to include this "feature"...?

@zeiha zeiha added the request label Jan 17, 2024
@dirkf
Copy link
Contributor

dirkf commented Jan 18, 2024

Basically we rely on the proxy support in the standard library. I suspect that this is not supported with the modules that we use and would be hard to implement. You might be able to achieve what you want by configuring a separate web proxy that understands socks5h as the proxy for yt-dl.

@dirkf
Copy link
Contributor

dirkf commented Mar 22, 2024

I'd be happy to consider a PR based on https://github.com/SeaHOH/extproxy as an optional dependency.

This could also address #32549 and some other historic proxy issues.

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

No branches or pull requests

2 participants