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

Feature: Add regex input field to inlude proxy for certian hosts #751

Open
divyam234 opened this issue May 12, 2024 · 1 comment
Open

Feature: Add regex input field to inlude proxy for certian hosts #751

divyam234 opened this issue May 12, 2024 · 1 comment

Comments

@divyam234
Copy link

divyam234 commented May 12, 2024

Aria2c doesn't support proxy hosts filter but it can easily be done through ui which asks for regex to include certain hosts for http proxy.

divyam234@4201ec0

I have added this in my fork

@mayswind
Copy link
Owner

mayswind commented May 12, 2024

I think you can use one AriaNg option to match different http urls and use a specified proxy server, similar to the following

^https?:\/\/one\.domain\.com\/|proxy1.com:8000
^https?:\/\/another\.domain\.com\/|proxy2.com:8000

For urls using the domain "one.domain.com", the download task would use proxy1.com:8000 as proxy server.

Welcome to submit a pull request!

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