bugfixes
This commit is contained in:
@@ -83,7 +83,10 @@ impl Porn00Provider {
|
||||
_ => "list_videos_most_recent_videos",
|
||||
};
|
||||
|
||||
let video_url = format!("{}{}/?mode=async^&function=get_block^&block_id={}^&from={}", self.url, sort_string, list_str, page);
|
||||
let video_url = format!(
|
||||
"{}{}/?mode=async&function=get_block&block_id={}&from={}",
|
||||
self.url, sort_string, list_str, page
|
||||
);
|
||||
let old_items = match cache.get(&video_url) {
|
||||
Some((time, items)) => {
|
||||
if time.elapsed().unwrap_or_default().as_secs() < 60 * 5 {
|
||||
|
||||
Reference in New Issue
Block a user