channels fix
This commit is contained in:
@@ -116,7 +116,14 @@ impl PornhubProvider {
|
||||
}
|
||||
}
|
||||
|
||||
url += format!("&o={}", sort).as_str();
|
||||
if !query.contains("@channels"){
|
||||
url += match sort {
|
||||
"mr" => "",
|
||||
"mv" => "&o=vi",
|
||||
"tr" => "&o=ra",
|
||||
_ => "",
|
||||
}
|
||||
}
|
||||
|
||||
// Check our Video Cache. If the result is younger than 1 hour, we return it.
|
||||
let old_items = match cache.get(&url) {
|
||||
|
||||
Reference in New Issue
Block a user