This commit is contained in:
Simon
2025-08-19 10:46:20 +00:00
parent ee8abaed8d
commit 07281e8360

View File

@@ -203,9 +203,9 @@ impl HentaimoonProvider {
// for (index, line) in vid.iter().enumerate() {
// println!("Line {}: {}", index, line);
// }
let video_url: String = format!("{}{}", self.url, video_segment.split("<a href=\"").collect::<Vec<&str>>()[1]
let video_url: String = video_segment.split("<a href=\"").collect::<Vec<&str>>()[1]
.split("\"")
.collect::<Vec<&str>>()[0]);
.collect::<Vec<&str>>()[0].to_string();
let mut title = video_segment.split("\" title=\"").collect::<Vec<&str>>()[1]
.split("\"")
.collect::<Vec<&str>>()[0]