bugfix
This commit is contained in:
14
Cargo.toml
14
Cargo.toml
@@ -13,14 +13,14 @@ futures = "0.3.31"
|
||||
htmlentity = "1.3.2"
|
||||
ntex = { version = "2.15.1", features = ["tokio"] }
|
||||
ntex-files = "2.0.0"
|
||||
serde = "1.0.219"
|
||||
serde_json = "1.0.143"
|
||||
serde = "1.0.228"
|
||||
serde_json = "1.0.145"
|
||||
tokio = { version = "1.47.1", features = ["full"] }
|
||||
wreq = { version = "5.3.0", features = ["full", "cookies"] }
|
||||
wreq-util = "2"
|
||||
percent-encoding = "2.3.2"
|
||||
capitalize = "0.3.4"
|
||||
url = "2.5.4"
|
||||
url = "2.5.7"
|
||||
base64 = "0.22.1"
|
||||
scraper = "0.24.0"
|
||||
once_cell = "1.21.3"
|
||||
@@ -31,3 +31,11 @@ async-trait = "0.1"
|
||||
unexpected_cfgs = "allow"
|
||||
# Or keep it as a warning but whitelist the cfg:
|
||||
# unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] }
|
||||
|
||||
# Enable a small amount of optimization in the dev profile.
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
|
||||
# Enable a large amount of optimization in the dev profile for dependencies.
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
|
||||
@@ -310,10 +310,10 @@ impl OmgxxxProvider {
|
||||
sort_string = format!("sites/{}{}", options.sites.as_ref().unwrap(), alt_sort_string);
|
||||
}
|
||||
if options.stars.is_some()
|
||||
&& !options.sites.as_ref().unwrap().is_empty()
|
||||
&& options.sites.as_ref().unwrap() != "all"
|
||||
&& !options.stars.as_ref().unwrap().is_empty()
|
||||
&& options.stars.as_ref().unwrap() != "all"
|
||||
{
|
||||
sort_string = format!("models/{}{}", options.sites.as_ref().unwrap(), alt_sort_string);
|
||||
sort_string = format!("models/{}{}", options.stars.as_ref().unwrap(), alt_sort_string);
|
||||
}
|
||||
let video_url = format!("{}/{}/{}/", self.url, sort_string, page);
|
||||
let old_items = match cache.get(&video_url) {
|
||||
|
||||
Reference in New Issue
Block a user