This commit is contained in:
Simon
2025-06-06 09:19:40 +00:00
parent 69301f1e97
commit 95eeb273f5
2 changed files with 37 additions and 39 deletions

View File

@@ -374,7 +374,6 @@ impl PerverzijaProvider {
return Ok(video_item);
}
Ok(None) => {
println!("Couldnt find {}", lookup_url);
},
Err(e) => {
println!("Error fetching video from database: {}", e);
@@ -411,8 +410,7 @@ impl PerverzijaProvider {
.split("\"")
.collect::<Vec<&str>>()[0]
.to_string().replace("index.php","xs1.php");
println!("new_url = {:?}", url);
if url.starts_with("https://discord.com"){
if !url.contains("xtremestream.xyz"){
url = "!".to_string()
}