removed proxies
This commit is contained in:
@@ -64,7 +64,7 @@ impl HomoxxxProvider {
|
||||
if response.status().is_redirection(){
|
||||
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
||||
response = client.get(response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
if response.status().is_success() {
|
||||
@@ -144,7 +144,7 @@ impl HomoxxxProvider {
|
||||
if response.status().is_redirection(){
|
||||
|
||||
response = client.get(self.url.clone() + response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ impl OkpornProvider {
|
||||
if response.status().is_redirection(){
|
||||
|
||||
response = client.get(self.url.clone() + response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ impl OkxxxProvider {
|
||||
if response.status().is_redirection(){
|
||||
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
||||
response = client.get(response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
if response.status().is_success() {
|
||||
@@ -144,7 +144,7 @@ impl OkxxxProvider {
|
||||
if response.status().is_redirection(){
|
||||
|
||||
response = client.get(self.url.clone() + response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ impl PerfectgirlsProvider {
|
||||
if response.status().is_redirection(){
|
||||
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
||||
response = client.get(response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
if response.status().is_success() {
|
||||
@@ -146,7 +146,7 @@ impl PerfectgirlsProvider {
|
||||
if response.status().is_redirection(){
|
||||
|
||||
response = client.get(self.url.clone() + response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ impl PornhatProvider {
|
||||
if response.status().is_redirection(){
|
||||
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
||||
response = client.get(response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
if response.status().is_success() {
|
||||
@@ -146,7 +146,7 @@ impl PornhatProvider {
|
||||
if response.status().is_redirection(){
|
||||
|
||||
response = client.get(self.url.clone() + response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
.send().await?;
|
||||
}
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ impl RedtubeProvider {
|
||||
if response.status().is_redirection(){
|
||||
|
||||
response = client.get(self.url.clone() + response.headers()["Location"].to_str().unwrap())
|
||||
.proxy(proxy)
|
||||
// .proxy(proxy)
|
||||
.send().await?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user