diff --git a/src/providers/pornhub.rs b/src/providers/pornhub.rs index 33ab987..a21974b 100644 --- a/src/providers/pornhub.rs +++ b/src/providers/pornhub.rs @@ -112,7 +112,7 @@ impl PornhubProvider { if query.starts_with("@"){ let url_parts = query[1..].split(":").collect::>(); - url = [self.url.to_string(), url_parts[0].to_string(), url_parts[1].to_string(), "videos?page=".to_string()].join("/"); + url = [self.url.to_string(), url_parts[0].to_string(), url_parts[1].replace("-", " ").to_string(), "videos?page=".to_string()].join("/"); url += &page.to_string(); if query.contains("@model") || query.contains("@pornstar"){ split_string = "mostRecentVideosSection";