This commit is contained in:
Simon
2026-01-07 13:06:15 +00:00
parent 0fc3bed6a7
commit 792e246121

View File

@@ -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"),