AriaNg icon indicating copy to clipboard operation
AriaNg copied to clipboard

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

Open divyam234 opened this issue 9 months ago • 1 comments

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.

https://github.com/divyam234/AriaNg/commit/4201ec0aa4302ec5f4c67702465fa80663ccc27d

I have added this in my fork

divyam234 avatar May 12 '24 07:05 divyam234

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!

mayswind avatar May 12 '24 14:05 mayswind