javtiful fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user