diff --git a/src/api.rs b/src/api.rs index e432616..bbe197b 100644 --- a/src/api.rs +++ b/src/api.rs @@ -117,6 +117,7 @@ async fn status(req: HttpRequest) -> Result { .unwrap_or_default() .to_string(); let mut status = Status::new(); + // pronhub status.add_channel(Channel { id: "pornhub".to_string(), @@ -297,6 +298,7 @@ async fn status(req: HttpRequest) -> Result { nsfw: true, }); } + status.add_channel(Channel { id: "hanime".to_string(), name: "Hanime".to_string(), @@ -357,6 +359,7 @@ async fn status(req: HttpRequest) -> Result { }], nsfw: true, }); + // status.add_channel(Channel { // id: "spankbang".to_string(), // name: "SpankBang".to_string(), @@ -431,7 +434,7 @@ async fn status(req: HttpRequest) -> Result { nsfw: true, }); -status.add_channel(Channel { + status.add_channel(Channel { id: "all".to_string(), name: "All".to_string(), description: "(Work in Progress) Query from all sites of this Server".to_string(), @@ -476,7 +479,7 @@ status.add_channel(Channel { nsfw: true, }); - status.add_channel(Channel { + status.add_channel(Channel { id: "redtube".to_string(), name: "Redtube".to_string(), description: "Redtube brings you NEW porn videos every day for free".to_string(), diff --git a/src/providers/all.rs b/src/providers/all.rs index a31eb2d..06feed2 100644 --- a/src/providers/all.rs +++ b/src/providers/all.rs @@ -37,7 +37,7 @@ impl Provider for AllProvider { ) -> Vec { let sites = options.sites.unwrap(); - println!("{:?}", sites); + println!("Sites: {:?}", sites); return vec![]; }