paradise hill
This commit is contained in:
26
src/api.rs
26
src/api.rs
@@ -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())),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user