javtiful sorting fix

This commit is contained in:
Simon
2026-05-02 14:45:06 +00:00
parent e4d409fe1f
commit 1df76af8f2

View File

@@ -120,7 +120,7 @@ impl JavtifulProvider {
"popular" => "sort=popular&", "popular" => "sort=popular&",
_ => "", _ => "",
}; };
let video_url = format!("{}/videos{}?page={}", self.url, sort_string, page); let video_url = format!("{}/videos?{}page={}", self.url, sort_string, page);
let old_items = match cache.get(&video_url) { let old_items = match cache.get(&video_url) {
Some((time, items)) => { Some((time, items)) => {
if time.elapsed().unwrap_or_default().as_secs() < 60 * 5 { if time.elapsed().unwrap_or_default().as_secs() < 60 * 5 {