This commit is contained in:
Simon
2026-05-20 09:10:13 +00:00
committed by ForgeCode
parent f95e8fc632
commit 2a72e08d8a
4 changed files with 497 additions and 3 deletions

View File

@@ -493,7 +493,7 @@ impl SxyprnProvider {
for dood_url in doodstream_urls {
formats.push(
VideoFormat::m3u8(dood_url.clone(), "auto".to_string(), "m3u8".to_string())
VideoFormat::new(dood_url.clone(), "auto".to_string(), "doodstream".to_string())
.format_note("doodstream".to_string())
.format_id("doodstream".to_string())
.http_header("Referer".to_string(), "https://sxyprn.com/".to_string()),

View File

@@ -137,7 +137,7 @@ pub fn config(cfg: &mut web::ServiceConfig) {
.route(web::get().to(proxy2redirect)),
);
cfg.service(
web::resource("/allpornstream/{endpoint}*")
web::resource("/aps/{endpoint}*")
.route(web::post().to(crate::proxies::allpornstream::serve))
.route(web::get().to(crate::proxies::allpornstream::serve)),
);