bugfixes again

This commit is contained in:
Simon
2025-07-16 18:50:33 +00:00
parent 9e1a2a65c9
commit 19146616dc

View File

@@ -186,7 +186,7 @@ impl PornhubProvider {
continue; continue;
} }
let mut title = video_segment.split("\" title=\"").collect::<Vec<&str>>()[1] let mut title = video_segment.split("\" title=\"").collect::<Vec<&str>>()[1]
.split("") .split("\"")
.collect::<Vec<&str>>()[0] .collect::<Vec<&str>>()[0]
.to_string(); .to_string();
// html decode // html decode
@@ -209,7 +209,7 @@ impl PornhubProvider {
id, id,
title, title,
url.to_string(), url.to_string(),
"perverzija".to_string(), "pornhub".to_string(),
thumb, thumb,
duration, duration,
); );