From 519f178dea1f799c816a068f8d6d8b2c4a25c229 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 19 Jul 2025 14:44:56 +0000 Subject: [PATCH] bugfix --- src/providers/pornhub.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";