commented out proxies
This commit is contained in:
@@ -59,7 +59,7 @@ impl HomoxxxProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
||||||
@@ -138,7 +138,7 @@ impl HomoxxxProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
|
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ impl OkpornProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@ impl OkpornProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
|
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ impl OkxxxProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
||||||
@@ -138,7 +138,7 @@ impl OkxxxProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
|
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ impl PerfectgirlsProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
||||||
@@ -140,7 +140,7 @@ impl PerfectgirlsProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
|
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ impl PornhatProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
println!("Redirection detected, following to: {}", response.headers()["Location"].to_str().unwrap());
|
||||||
@@ -140,7 +140,7 @@ impl PornhatProvider {
|
|||||||
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
let client = Client::builder().cert_verification(false).emulation(Emulation::Firefox136).build()?;
|
||||||
|
|
||||||
let mut response = client.get(video_url.clone())
|
let mut response = client.get(video_url.clone())
|
||||||
.proxy(proxy.clone())
|
// .proxy(proxy.clone())
|
||||||
.send().await?;
|
.send().await?;
|
||||||
|
|
||||||
if response.status().is_redirection(){
|
if response.status().is_redirection(){
|
||||||
|
|||||||
Reference in New Issue
Block a user