Allow use of Proxy (#3284)

* Proxy config
* Disable proxy for localhost & local LAN
* No_proxy is now configurable
This commit is contained in:
JackDawson94
2023-02-06 23:46:18 +01:00
committed by GitHub
parent 1cba910435
commit 65d1353f2c
9 changed files with 129 additions and 2 deletions

View File

@@ -834,6 +834,10 @@ func (mockGlobalConfig) GetPythonPath() string {
return ""
}
func (mockGlobalConfig) GetProxy() string {
return ""
}
func TestSubScrape(t *testing.T) {
retHTML := `
<div>