This commit is contained in:
Simon
2025-08-29 19:36:33 +00:00
parent 44b42170be
commit 53a4c62bfe
6 changed files with 570 additions and 0 deletions

View File

@@ -723,6 +723,40 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
nsfw: true,
});
// porn00
status.add_channel(Channel {
id: "porn00".to_string(),
name: "Porn00".to_string(),
description: "HD Porn".to_string(),
premium: false,
favicon: "https://www.google.com/s2/favicons?sz=64&domain=www.porn00.org".to_string(),
status: "active".to_string(),
categories: vec![],
options: vec![ChannelOption {
id: "sort".to_string(),
title: "Sort".to_string(),
description: "Sort the Videos".to_string(), //"Sort the videos by Date or Name.".to_string(),
systemImage: "list.number".to_string(),
colorName: "blue".to_string(),
options: vec![
FilterOption {
id: "new".to_string(),
title: "New".to_string(),
},
FilterOption {
id: "popular".to_string(),
title: "Popular".to_string(),
},
FilterOption {
id: "top-rated".to_string(),
title: "Top Rated".to_string(),
},
],
multiSelect: false,
}],
nsfw: true,
});
//missav
status.add_channel(Channel {
id: "missav".to_string(),
@@ -997,6 +1031,8 @@ pub fn get_provider(channel: &str) -> Option<AnyProvider> {
"hentaimoon" => Some(AnyProvider::Hentaimoon(crate::providers::hentaimoon::HentaimoonProvider::new())),
"missav" => Some(AnyProvider::Missav(crate::providers::missav::MissavProvider::new())),
"xxthots" => Some(AnyProvider::Xxthots(crate::providers::xxthots::XxthotsProvider::new())),
"sxyprn" => Some(AnyProvider::Sxyprn(crate::providers::sxyprn::SxyprnProvider::new())),
"porn00" => Some(AnyProvider::Porn00(crate::providers::porn00::Porn00Provider::new())),
_ => Some(AnyProvider::Perverzija(PerverzijaProvider::new())),
}
}