removed proxy

This commit is contained in:
Simon
2025-05-31 13:58:46 +00:00
parent 580751af03
commit edc7879324
2 changed files with 6 additions and 6 deletions

View File

@@ -60,8 +60,8 @@ impl Flaresolverr {
) -> Result<String, Box<dyn std::error::Error>> {
let client = reqwest::Client::builder()
// .user_agent("Mozilla/5.0 (iPhone; CPU iPhone OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/33.0 Mobile/15E148 Safari/605.1.15")
.proxy(Proxy::https("http://192.168.0.101:8080").unwrap())
.danger_accept_invalid_certs(true)
// .proxy(Proxy::https("http://192.168.0.101:8080").unwrap())
// .danger_accept_invalid_certs(true)
.build()?;
let response = client.post(&self.url).json(&request).send().await?;
println!("FlareSolverr response: {:?}", response);