paradise hill

This commit is contained in:
Simon
2025-09-19 11:12:26 +00:00
parent 8effce7c2b
commit 1b4bc6cb13
3 changed files with 228 additions and 0 deletions

View File

@@ -813,6 +813,29 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
cacheDuration: Some(1800),
});
// paradisehill
status.add_channel(Channel {
id: "paradisehill".to_string(),
name: "Paradisehill".to_string(),
description: "Porn Movies on Paradise Hill".to_string(),
premium: false,
favicon: "https://en.paradisehill.cc/img/big-logo.svg".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![
],
multiSelect: false,
}],
nsfw: true,
cacheDuration: None,
});
// youjizz
status.add_channel(Channel {
id: "youjizz".to_string(),
@@ -1244,6 +1267,9 @@ pub fn get_provider(channel: &str) -> Option<AnyProvider> {
"youjizz" => Some(AnyProvider::Youjizz(
crate::providers::youjizz::YoujizzProvider::new(),
)),
"paradisehill" => Some(AnyProvider::Paradisehill(
crate::providers::paradisehill::ParadisehillProvider::new(),
)),
_ => Some(AnyProvider::Perverzija(PerverzijaProvider::new())),
}
}