tube8
This commit is contained in:
@@ -13,6 +13,7 @@ use crate::proxies::pornhd3x::Pornhd3xProxy;
|
||||
use crate::proxies::shooshtime::ShooshtimeProxy;
|
||||
use crate::proxies::spankbang::SpankbangProxy;
|
||||
use crate::proxies::sxyprn::SxyprnProxy;
|
||||
use crate::proxies::tube8::Tube8Proxy;
|
||||
use crate::proxies::vjav::VjavProxy;
|
||||
use crate::proxies::vidara::VidaraProxy;
|
||||
use crate::proxies::lulustream::LulustreamProxy;
|
||||
@@ -136,6 +137,11 @@ pub fn config(cfg: &mut web::ServiceConfig) {
|
||||
.route(web::post().to(proxy2redirect))
|
||||
.route(web::get().to(proxy2redirect)),
|
||||
);
|
||||
cfg.service(
|
||||
web::resource("/tube8/{endpoint}*")
|
||||
.route(web::post().to(proxy2redirect))
|
||||
.route(web::get().to(proxy2redirect)),
|
||||
);
|
||||
cfg.service(
|
||||
web::resource("/aps/{endpoint}*")
|
||||
.route(web::post().to(crate::proxies::allpornstream::serve))
|
||||
@@ -177,6 +183,7 @@ fn get_proxy(proxy: &str) -> Option<AnyProxy> {
|
||||
"lulustream" => Some(AnyProxy::Lulustream(LulustreamProxy::new())),
|
||||
"thaiporntv" => Some(AnyProxy::ThaipornTv(ThaipornTvProxy::new())),
|
||||
"allpornstream" => Some(AnyProxy::AllPornStream(AllPornStreamProxy::new())),
|
||||
"tube8" => Some(AnyProxy::Tube8(Tube8Proxy::new())),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user