handled some warnings

This commit is contained in:
Simon
2025-10-03 17:34:16 +00:00
parent 20d069f01f
commit f9ccdd8b33
8 changed files with 50 additions and 61 deletions

View File

@@ -9,7 +9,7 @@ use error_chain::error_chain;
use htmlentity::entity::{ICodedDataTrait, decode};
use std::env;
use std::vec;
use wreq::{Client, Proxy};
use wreq::{Client};
use wreq_util::Emulation;
error_chain! {
@@ -55,7 +55,7 @@ impl PerfectgirlsProvider {
}
};
let proxy = Proxy::all("http://192.168.0.103:8081").unwrap();
// let proxy = Proxy::all("http://192.168.0.103:8081").unwrap();
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
let mut response = client.get(video_url.clone())
@@ -134,7 +134,7 @@ impl PerfectgirlsProvider {
}
};
let proxy = Proxy::all("http://192.168.0.103:8081").unwrap();
// let proxy = Proxy::all("http://192.168.0.103:8081").unwrap();
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
let mut response = client.get(video_url.clone())