remove "New" from title

This commit is contained in:
Simon
2025-11-28 14:07:32 +00:00
parent b4b57ccfc7
commit ee6919315b

View File

@@ -197,7 +197,9 @@ impl SxyprnProvider {
.unwrap_or(title) .unwrap_or(title)
.replace(" ", " "); .replace(" ", " ");
title = title.replace(" + ", " ").replace(" ", " "); title = title.replace(" + ", " ").replace(" ", " ");
if title.to_ascii_lowercase().starts_with("new "){
title = title[4..].to_string();
}
// println!("Title: {}", title); // println!("Title: {}", title);
let id = video_url.split("/").collect::<Vec<&str>>()[6].to_string(); let id = video_url.split("/").collect::<Vec<&str>>()[6].to_string();