sxyprn bugfix for query

This commit is contained in:
Simon
2025-11-28 13:43:48 +00:00
parent 36e549b176
commit b4b57ccfc7

View File

@@ -115,7 +115,7 @@ impl SxyprnProvider {
let search_string = query.replace(" ", "-"); let search_string = query.replace(" ", "-");
let url_str = format!( let url_str = format!(
"{}/{}.html?page={}&sm={}", "{}/{}.html?page={}&sm={}",
self.url, search_string, page, sort_string self.url, search_string, ((page as u32) - 1) * 20, sort_string
); );
// 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.
let old_items = match cache.get(&url_str) { let old_items = match cache.get(&url_str) {