hanime bugfix

This commit is contained in:
Simon
2025-10-17 08:31:05 +00:00
parent a0e0a8e4b1
commit d864bc8a4e

View File

@@ -132,7 +132,7 @@ impl HanimeProvider {
drop(conn); drop(conn);
let id = hit.id.to_string(); let id = hit.id.to_string();
let title = hit.name; let title = hit.name;
let thumb = hit.cover_url.replace("hanime-cdn.com", "hottub.spacemoehre.de"); let thumb = hit.cover_url.replace("https://hanime-cdn.com", "https://hottub.spacemoehre.de/proxy/hanime-cdn");
let duration = (hit.duration_in_ms / 1000) as u32; // Convert ms to seconds let duration = (hit.duration_in_ms / 1000) as u32; // Convert ms to seconds
let channel = "hanime".to_string(); // Placeholder, adjust as needed let channel = "hanime".to_string(); // Placeholder, adjust as needed
match db_result { match db_result {