wowxxx
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
use crate::proxies::allpornstream::AllPornStreamProxy;
|
||||
use crate::proxies::archivebate::ArchivebateProxy;
|
||||
use crate::proxies::clapdat::ClapdatProxy;
|
||||
use crate::proxies::doodstream::DoodstreamProxy;
|
||||
@@ -48,7 +47,6 @@ pub mod vjav;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum AnyProxy {
|
||||
AllPornStream(AllPornStreamProxy),
|
||||
Archivebate(ArchivebateProxy),
|
||||
Doodstream(DoodstreamProxy),
|
||||
Sxyprn(SxyprnProxy),
|
||||
@@ -75,7 +73,6 @@ pub trait Proxy {
|
||||
impl Proxy for AnyProxy {
|
||||
async fn get_video_url(&self, url: String, requester: web::types::State<Requester>) -> String {
|
||||
match self {
|
||||
AnyProxy::AllPornStream(p) => p.get_video_url(url, requester).await,
|
||||
AnyProxy::Archivebate(p) => p.get_video_url(url, requester).await,
|
||||
AnyProxy::Doodstream(p) => p.get_video_url(url, requester).await,
|
||||
AnyProxy::Sxyprn(p) => p.get_video_url(url, requester).await,
|
||||
|
||||
Reference in New Issue
Block a user