We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need to access a specific website through the native proxy port thanks
The text was updated successfully, but these errors were encountered:
I am looking for some inputs on this as well. Would be great if anyone can point to useful resources
Sorry, something went wrong.
i changed this
func GetWithProxy(url, proxy string) (string, error) { // 如果需要代理验证,那么如下进行设置 // 否则直接设置为url.Parse("http://127.0.0.1:8889") // url, err := url.Parse("http://username:password@inproxy.sjtu.edu.cn:8000") // u, err := netURL.Parse("http://127.0.0.1:8889") u, err := netURL.Parse(proxy) if err != nil { log.Fatal("parse url error: ", err) } l.Info.Printf("使用魔法..biu..主机: %v\n", u.Host) client := http.Client{ Transport: &http.Transport{ // 设置代理 Proxy: http.ProxyURL(u), }, } return GetWithClient(url, &client) }
But I don't know how to sent merge request
No branches or pull requests
I need to access a specific website through the native proxy port
thanks
The text was updated successfully, but these errors were encountered: