diff --git a/src/providers/javtiful.rs b/src/providers/javtiful.rs index 7ff2ff4..fd95e98 100644 --- a/src/providers/javtiful.rs +++ b/src/providers/javtiful.rs @@ -49,7 +49,7 @@ impl JavtifulProvider { fn build_channel(&self, clientversion: ClientVersion) -> Channel { let _ = clientversion; Channel { - id: "pimpbunny".to_string(), + id: "javtiful".to_string(), name: "Javtiful".to_string(), description: "Watch Porn!".to_string(), premium: false, @@ -214,7 +214,18 @@ impl JavtifulProvider { .and_then(|s| s.split("row row-cols-1 row-cols-sm-2 row-cols-lg-3 row-cols-xl-4").nth(1)) { Some(b) => b, - None => return vec![], + None => { + eprint("Javtiful Provider: Failed to get block from html"); + let _ = futures::executor::block_on(send_discord_error_report( + &e, + Some("Javtiful Provider"), + Some(&format!("Failed to get block from html:\n```{html}\n```")), + file!(), + line!(), + module_path!(), + )); + return vec![] + }, }; let futures = block @@ -227,6 +238,7 @@ impl JavtifulProvider { .into_iter() .inspect(|r| { if let Err(e) = r { + eprint("Javtiful Provider: Failed to get video item"); let _ = futures::executor::block_on(send_discord_error_report( &e, Some("Javtiful Provider"),