remove skip

This commit is contained in:
Simon
2025-09-13 08:06:18 +00:00
parent 428307f52d
commit 8effce7c2b

View File

@@ -125,9 +125,10 @@ impl YoujizzProvider {
// for (index, line) in vid.iter().enumerate() { // for (index, line) in vid.iter().enumerate() {
// println!("Line {}: {}", index, line); // println!("Line {}: {}", index, line);
// } // }
if video_segment.contains("https://cdne-static.cdn1122.com/app/1/images/spacer.gif") { // if video_segment.contains(" src=\"https://cdne-static.cdn1122.com/app/1/images/spacer.gif") {
continue; // println!("Skipping video segment due to placeholder thumbnail");
} // continue;
// }
let video_url: String = format!("{}{}",self.url, video_segment.split("href=\"").collect::<Vec<&str>>()[1] let video_url: String = format!("{}{}",self.url, video_segment.split("href=\"").collect::<Vec<&str>>()[1]
.split("\"") .split("\"")
.collect::<Vec<&str>>()[0].to_string()); .collect::<Vec<&str>>()[0].to_string());