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