spankbang now working with DB
This commit is contained in:
@@ -345,6 +345,11 @@ async fn videos_post(
|
||||
let per_page_clone = perPage.to_string();
|
||||
let featured_clone = featured.clone();
|
||||
task::spawn_local(async move {
|
||||
if let AnyProvider::Spankbang(_) = provider_clone {
|
||||
// Spankbang has a delay for the next page
|
||||
let delay = time::Duration::from_secs(60);
|
||||
time::sleep(delay).await;
|
||||
}
|
||||
let _ = provider_clone
|
||||
.get_videos(
|
||||
cache_clone,
|
||||
|
||||
Reference in New Issue
Block a user