javtiful fix

This commit is contained in:
Simon
2026-03-29 17:05:32 +00:00
parent 243d19cec0
commit 4e95354880
2 changed files with 21 additions and 5 deletions

View File

@@ -428,10 +428,17 @@ impl JavtifulProvider {
.unwrap_or(0);
let quality = "1080p".to_string();
let stripped_url = crate::providers::strip_url_scheme(url);
let proxy_target = stripped_url
.strip_prefix("www.javtiful.com/")
.or_else(|| stripped_url.strip_prefix("javtiful.com/"))
.unwrap_or(stripped_url.as_str())
.trim_start_matches('/')
.to_string();
let video_url = crate::providers::build_proxy_url(
options,
"javtiful",
&crate::providers::strip_url_scheme(url),
&proxy_target,
);
Ok((
tags,