This commit is contained in:
Simon
2026-05-13 08:24:04 +00:00
committed by ForgeCode
parent 00f693ee9b
commit bf11d4e866
7 changed files with 666 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
use crate::proxies::archivebate::ArchivebateProxy;
use crate::proxies::clapdat::ClapdatProxy;
use crate::proxies::doodstream::DoodstreamProxy;
use crate::proxies::heavyfetish::HeavyfetishProxy;
use crate::proxies::hqporner::HqpornerProxy;
@@ -15,6 +16,7 @@ use crate::proxies::vidara::VidaraProxy;
use crate::proxies::lulustream::LulustreamProxy;
pub mod archivebate;
pub mod clapdat;
pub mod doodstream;
pub mod hanimecdn;
pub mod heavyfetish;
@@ -50,6 +52,7 @@ pub enum AnyProxy {
Heavyfetish(HeavyfetishProxy),
Vjav(VjavProxy),
Vidara(VidaraProxy),
Clapdat(ClapdatProxy),
}
pub trait Proxy {
@@ -73,6 +76,7 @@ impl Proxy for AnyProxy {
AnyProxy::Heavyfetish(p) => p.get_video_url(url, requester).await,
AnyProxy::Vjav(p) => p.get_video_url(url, requester).await,
AnyProxy::Vidara(p) => p.get_video_url(url, requester).await,
AnyProxy::Clapdat(p) => p.get_video_url(url, requester).await,
}
}
}