From bbbb8f5fdf7d49b73e8f529828e358d4244c7bff Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 19 Jul 2025 15:22:48 +0000 Subject: [PATCH] hotfix --- src/providers/pornhub.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/providers/pornhub.rs b/src/providers/pornhub.rs index 7e7a0d4..1b21b05 100644 --- a/src/providers/pornhub.rs +++ b/src/providers/pornhub.rs @@ -116,13 +116,15 @@ impl PornhubProvider { } } - if !query.contains("@channels"){ + if query.contains("@channels"){ url += match sort { "mr" => "", "mv" => "&o=vi", "tr" => "&o=ra", _ => "", } + } else{ + url += format!("&o={}", sort).as_str(); } // Check our Video Cache. If the result is younger than 1 hour, we return it.