sxyprn exclude doodstream until fixed

This commit is contained in:
Simon
2026-05-11 15:01:54 +00:00
committed by ForgeCode
parent 5ba16ab338
commit 00f693ee9b

View File

@@ -486,19 +486,19 @@ impl SxyprnProvider {
.format_note(sxyprn_url.split("/").nth(4).unwrap_or("sxyprn").to_string()), .format_note(sxyprn_url.split("/").nth(4).unwrap_or("sxyprn").to_string()),
); );
let doodstream_urls: Vec<String> = title_links // let doodstream_urls: Vec<String> = title_links
.iter() // .iter()
.filter(|url| proxy_name_for_url(url).as_deref() == Some("doodstream")) // .filter(|url| proxy_name_for_url(url).as_deref() == Some("doodstream"))
.map(|url| rewrite_hoster_url(options, url)) // .map(|url| rewrite_hoster_url(options, url))
.collect(); // .collect();
for dood_url in doodstream_urls { // for dood_url in doodstream_urls {
formats.push( // formats.push(
VideoFormat::m3u8(dood_url.clone(), "auto".to_string(), "m3u8".to_string()) // VideoFormat::m3u8(dood_url.clone(), "auto".to_string(), "m3u8".to_string())
.format_note("doodstream".to_string()) // .format_note("doodstream".to_string())
.format_id("doodstream".to_string()), // .format_id("doodstream".to_string()),
); // );
} // }
// let lulustream_urls: Vec<String> = title_links // let lulustream_urls: Vec<String> = title_links
// .iter() // .iter()