remove "New" from title
This commit is contained in:
@@ -197,7 +197,9 @@ impl SxyprnProvider {
|
||||
.unwrap_or(title)
|
||||
.replace(" ", " ");
|
||||
title = title.replace(" + ", " ").replace(" ", " ");
|
||||
|
||||
if title.to_ascii_lowercase().starts_with("new "){
|
||||
title = title[4..].to_string();
|
||||
}
|
||||
// println!("Title: {}", title);
|
||||
let id = video_url.split("/").collect::<Vec<&str>>()[6].to_string();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user