remove "New" from title
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user