This commit is contained in:
Simon
2026-05-20 14:28:11 +00:00
committed by ForgeCode
parent 2a72e08d8a
commit 2ec9137df9
6 changed files with 792 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ use crate::proxies::doodstream::DoodstreamProxy;
use crate::proxies::heavyfetish::HeavyfetishProxy;
use crate::proxies::hqporner::HqpornerProxy;
use crate::proxies::pornhd3x::Pornhd3xProxy;
use crate::proxies::tube8::Tube8Proxy;
use ntex::web;
use crate::proxies::pimpbunny::PimpbunnyProxy;
@@ -37,6 +38,7 @@ pub mod shooshtime;
pub mod spankbang;
pub mod sxyprn;
pub mod thaiporntv;
pub mod tube8;
pub mod vidara;
pub mod vjav;
@@ -59,6 +61,7 @@ pub enum AnyProxy {
Vidara(VidaraProxy),
Clapdat(ClapdatProxy),
ThaipornTv(ThaipornTvProxy),
Tube8(Tube8Proxy),
}
pub trait Proxy {
@@ -85,6 +88,7 @@ impl Proxy for AnyProxy {
AnyProxy::Vidara(p) => p.get_video_url(url, requester).await,
AnyProxy::Clapdat(p) => p.get_video_url(url, requester).await,
AnyProxy::ThaipornTv(p) => p.get_video_url(url, requester).await,
AnyProxy::Tube8(p) => p.get_video_url(url, requester).await,
}
}
}