testing and fixing

This commit is contained in:
Simon
2025-08-09 12:21:43 +00:00
parent 6b4b0be522
commit 3feeb02251
12 changed files with 204 additions and 96 deletions

View File

@@ -4,7 +4,7 @@ use crate::providers::Provider;
use crate::util::cache::VideoCache;
use crate::util::flaresolverr::{FlareSolverrRequest, Flaresolverr};
use crate::util::time::parse_time_to_seconds;
use crate::videos::{VideoItem};
use crate::videos::{ServerOptions, VideoItem};
use error_chain::error_chain;
use futures::stream::SplitSink;
use htmlentity::entity::{ICodedDataTrait, decode};
@@ -292,12 +292,10 @@ impl Provider for Rule34videoProvider {
query: Option<String>,
page: String,
per_page: String,
featured: String,
category: String,
options: ServerOptions,
) -> Vec<VideoItem> {
let _ = category;
let _ = options;
let _ = per_page;
let _ = featured; // Ignored in this implementation
let _ = pool; // Ignored in this implementation
let videos: std::result::Result<Vec<VideoItem>, Error> = match query {
Some(q) => {