This commit is contained in:
Simon
2025-07-19 15:22:48 +00:00
parent 5806f5ee2b
commit bbbb8f5fdf

View File

@@ -116,13 +116,15 @@ impl PornhubProvider {
} }
} }
if !query.contains("@channels"){ if query.contains("@channels"){
url += match sort { url += match sort {
"mr" => "", "mr" => "",
"mv" => "&o=vi", "mv" => "&o=vi",
"tr" => "&o=ra", "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. // Check our Video Cache. If the result is younger than 1 hour, we return it.