Crunchy-DL / Crunchy-Downloader

A simple crunchyroll downloader that allows you to download your favorite series and episodes directly from Crunchyroll
MIT License
139 stars 13 forks source link

[Suggest] Allow disable http proxy auto detect. #123

Closed eebssk1 closed 2 months ago

eebssk1 commented 2 months ago

Currently the application always uses system proxy settings. This is fine on most scenary. However On my setup. I have a global system proxy enabled. But for CDL, I use a hook/wfp based proxy software to hijack its connection(because it uses a seprated proxy server made for CDL). It's impossible to access system proxy through hijacked connection since this means access a proxy through another proxy. Though CDL seems auto fallback to normal connection without proxy when it can't be accessed, it still better to do NOT do this at first place.

Elwador commented 2 months ago

Would be easier to know what software you are using - and how i could replicate your "problem" to help you

eebssk1 commented 2 months ago

Would be easier to know what software you are using - and how i could replicate your "problem" to help you

It's proxifier (portable one). You just set a localhosted proxy in windows system proxy settings. Then set another proxy in proxifier, add CDL to proxifier.

The problem is like this.

System Proxy at 127.0.0.1:1080 Proxifier redirector to remote server 100.100.100.100:1000 Hook CDL using Proxifier. CDL detected and connects to system proxy 127.0.0.1:1080. Since CDL is hijacked by Proxifier, the connections are actually done by 100.100.100.100:1000. Thus means CDL is accessing system proxy(127.0.0.1:1080) via remote server (100.100.100.100:1000). Obviously not what we expected. Proxifier will also notify you that infinite loopback issue is detected sometimes.