diff --git a/src/manifest.rs b/src/manifest.rs index f089018..ed3084b 100644 --- a/src/manifest.rs +++ b/src/manifest.rs @@ -8,7 +8,8 @@ fn replace_manifest_urls(text: &str) -> std::string::String { static ref RE: Regex = Regex::new("(?m)^/([0-9]{3}|live)").unwrap(); } let new_text = RE.replace_all(text, "/live$0"); - new_text.replace("https://cloud.odysee.live", "/live") + let replaced_text = new_text.replace("https://cloud.odysee.live", "/live"); + replaced_text.replace("https://cdn.odysee.live", "/live") } pub async fn forward_manifest(