shooshtime

This commit is contained in:
Simon
2026-03-16 19:37:05 +00:00
parent 1f99eec5a3
commit 9751c25b95
4 changed files with 1418 additions and 4 deletions

View File

@@ -8,7 +8,6 @@ use crate::util::requester::Requester;
fn normalize_image_url(endpoint: &str) -> String {
let endpoint = endpoint.trim_start_matches('/');
println!("Normalizing image URL: {endpoint}");
if endpoint.starts_with("http://") || endpoint.starts_with("https://") {
endpoint.to_string()
} else if endpoint.starts_with("hanime-cdn.com/") || endpoint == "hanime-cdn.com" {