This commit is contained in:
Simon
2025-08-10 12:50:01 +00:00
parent 0ce2347022
commit 0aee46371a
2 changed files with 6 additions and 3 deletions

View File

@@ -117,6 +117,7 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
.unwrap_or_default() .unwrap_or_default()
.to_string(); .to_string();
let mut status = Status::new(); let mut status = Status::new();
// pronhub // pronhub
status.add_channel(Channel { status.add_channel(Channel {
id: "pornhub".to_string(), id: "pornhub".to_string(),
@@ -297,6 +298,7 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
nsfw: true, nsfw: true,
}); });
} }
status.add_channel(Channel { status.add_channel(Channel {
id: "hanime".to_string(), id: "hanime".to_string(),
name: "Hanime".to_string(), name: "Hanime".to_string(),
@@ -357,6 +359,7 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
}], }],
nsfw: true, nsfw: true,
}); });
// status.add_channel(Channel { // status.add_channel(Channel {
// id: "spankbang".to_string(), // id: "spankbang".to_string(),
// name: "SpankBang".to_string(), // name: "SpankBang".to_string(),
@@ -431,7 +434,7 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
nsfw: true, nsfw: true,
}); });
status.add_channel(Channel { status.add_channel(Channel {
id: "all".to_string(), id: "all".to_string(),
name: "All".to_string(), name: "All".to_string(),
description: "(Work in Progress) Query from all sites of this Server".to_string(), description: "(Work in Progress) Query from all sites of this Server".to_string(),

View File

@@ -37,7 +37,7 @@ impl Provider for AllProvider {
) -> Vec<VideoItem> { ) -> Vec<VideoItem> {
let sites = options.sites.unwrap(); let sites = options.sites.unwrap();
println!("{:?}", sites); println!("Sites: {:?}", sites);
return vec![]; return vec![];
} }