diff --git a/src/providers/sxyprn.rs b/src/providers/sxyprn.rs index e628757..f63ad1b 100644 --- a/src/providers/sxyprn.rs +++ b/src/providers/sxyprn.rs @@ -199,12 +199,19 @@ impl SxyprnProvider { .to_string() .unwrap_or(title) .replace(" ", " "); - title = title.replace(" + ", " ").replace(" ", " "); + title = title + .replace("\n", "") + .replace(" + ", " ") + .replace(" ", " ") + .trim().to_string(); if title.to_ascii_lowercase().starts_with("new ") { title = title[4..].to_string(); } // println!("Title: {}", title); - let id = video_url.split("/").collect::>()[6].split("?").collect::>()[0].to_string(); + let id = video_url.split("/").collect::>()[6] + .split("?") + .collect::>()[0] + .to_string(); let thumb = format!( "https:{}", @@ -271,13 +278,14 @@ impl SxyprnProvider { url.starts_with("http") && !url.starts_with("https://bigwarp.io/") && !url.starts_with("https://doodstream.com/") - && !url.starts_with("https://strmup.to/") + && !url.starts_with("https://strmup.") && !url.starts_with("https://streamtape.com/") + && !url.starts_with("https://streamvid.conetm/") }) .collect::>(); let video_item_url = match stream_urls.first() { Some(u) => u.clone(), - None => format!("https://hottub.spacemoehre.de/proxy/sxyprn/post/{}",id)//video_url.clone(), + None => format!("https://hottub.spacemoehre.de/proxy/sxyprn/post/{}", id), //video_url.clone(), }; let mut video_item = VideoItem::new( id,