adapted proxies

This commit is contained in:
Simon
2025-08-19 10:43:41 +00:00
parent caed5088f5
commit d01436ab6a
10 changed files with 21 additions and 21 deletions

View File

@@ -61,7 +61,7 @@ impl PornhubProvider {
if response.status().is_redirection(){
response = client.get(self.url.clone() + response.headers()["Location"].to_str().unwrap())
// .proxy(proxy)
// .proxy(proxy.clone())
.send().await?;
}
if response.status().is_success() {
@@ -168,7 +168,7 @@ impl PornhubProvider {
if response.status().is_redirection(){
response = client.get(self.url.clone() + response.headers()["Location"].to_str().unwrap())
// .proxy(proxy)
// .proxy(proxy.clone())
.send().await?;
}