skip non-working videos
This commit is contained in:
@@ -125,6 +125,9 @@ impl YoujizzProvider {
|
||||
// for (index, line) in vid.iter().enumerate() {
|
||||
// println!("Line {}: {}", index, line);
|
||||
// }
|
||||
if video_segment.contains("https://cdne-static.cdn1122.com/app/1/images/spacer.gif") {
|
||||
continue;
|
||||
}
|
||||
let video_url: String = format!("{}{}",self.url, video_segment.split("href=\"").collect::<Vec<&str>>()[1]
|
||||
.split("\"")
|
||||
.collect::<Vec<&str>>()[0].to_string());
|
||||
|
||||
Reference in New Issue
Block a user