cleanup
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user