omgxxx bugfix

This commit is contained in:
Simon
2026-01-02 15:11:27 +00:00
parent 262b908692
commit 5ab2afa967

View File

@@ -397,7 +397,8 @@ impl OmgxxxProvider {
} }
_ => {} _ => {}
} }
let video_url = format!("{}/{}/{}/{}/", self.url, search_type, search_string, page); let mut video_url = format!("{}/{}/{}/{}/", self.url, search_type, search_string, page);
video_url = video_url.replace(" ", "+");
// 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(&video_url) { let old_items = match cache.get(&video_url) {
Some((time, items)) => { Some((time, items)) => {