pornzog
This commit is contained in:
46
src/api.rs
46
src/api.rs
@@ -310,6 +310,50 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
|
||||
});
|
||||
}
|
||||
|
||||
// pornzog
|
||||
status.add_channel(Channel {
|
||||
id: "pornzog".to_string(),
|
||||
name: "Pornzog".to_string(),
|
||||
description: "Watch free porn videos at PornZog Free Porn Clips. More than 1 million videos, watch for free now!".to_string(),
|
||||
premium: false,
|
||||
favicon: "https://www.google.com/s2/favicons?sz=64&domain=pornzog.com".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: "recent".to_string(),
|
||||
title: "Recent".to_string(),
|
||||
},
|
||||
FilterOption {
|
||||
id: "relevance".to_string(),
|
||||
title: "Relevance".to_string(),
|
||||
},
|
||||
FilterOption {
|
||||
id: "viewed".to_string(),
|
||||
title: "Most Viewed".to_string(),
|
||||
},
|
||||
FilterOption {
|
||||
id: "rated".to_string(),
|
||||
title: "Most Rated".to_string(),
|
||||
},
|
||||
FilterOption {
|
||||
id: "longest".to_string(),
|
||||
title: "Longest".to_string(),
|
||||
}
|
||||
],
|
||||
multiSelect: false,
|
||||
}],
|
||||
nsfw: true,
|
||||
cacheDuration: None,
|
||||
});
|
||||
|
||||
// Hanime
|
||||
status.add_channel(Channel {
|
||||
id: "hanime".to_string(),
|
||||
name: "Hanime".to_string(),
|
||||
@@ -406,6 +450,7 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
|
||||
//cacheDuration: Some(1800),
|
||||
// });
|
||||
|
||||
// rule34video
|
||||
status.add_channel(Channel {
|
||||
id: "rule34video".to_string(),
|
||||
name: "Rule34Video".to_string(),
|
||||
@@ -1261,6 +1306,7 @@ pub fn get_provider(channel: &str) -> Option<AnyProvider> {
|
||||
"paradisehill" => Some(AnyProvider::Paradisehill(
|
||||
crate::providers::paradisehill::ParadisehillProvider::new(),
|
||||
)),
|
||||
"pornzog" => Some(AnyProvider::Pornzog(crate::providers::pornzog::PornzogProvider::new())),
|
||||
_ => Some(AnyProvider::Perverzija(PerverzijaProvider::new())),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user