This commit is contained in:
Simon
2025-07-19 14:44:56 +00:00
parent 8a477bffc9
commit 519f178dea

View File

@@ -112,7 +112,7 @@ impl PornhubProvider {
if query.starts_with("@"){
let url_parts = query[1..].split(":").collect::<Vec<&str>>();
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";