removed debug prints

This commit is contained in:
Simon
2025-08-21 10:18:36 +00:00
parent 59d30695e9
commit 2a32690894

View File

@@ -94,9 +94,7 @@ impl Requester {
let header = HeaderValue::from_str(&format!("{}={}", cookie.name, cookie.value)).unwrap(); let header = HeaderValue::from_str(&format!("{}={}", cookie.name, cookie.value)).unwrap();
// Parse the domain string into a Url // Parse the domain string into a Url
let cookie_url = url.split("/").collect::<Vec<&str>>()[..3].join("/"); let cookie_url = url.split("/").collect::<Vec<&str>>()[..3].join("/");
println!("{}", cookie_url);
if let Ok(url) = url::Url::parse(cookie_url.as_str()) { if let Ok(url) = url::Url::parse(cookie_url.as_str()) {
println!("{:?}, {:?}", cookie_url, header);
self.client.set_cookie(&url, header); self.client.set_cookie(&url, header);
} }
} }