removed debug print
This commit is contained in:
@@ -185,9 +185,9 @@ impl SpankbangProvider {
|
|||||||
.to_vec();
|
.to_vec();
|
||||||
for video_segment in &raw_videos {
|
for video_segment in &raw_videos {
|
||||||
let vid = video_segment.split("\n").collect::<Vec<&str>>();
|
let vid = video_segment.split("\n").collect::<Vec<&str>>();
|
||||||
for (index,line) in vid.iter().enumerate(){
|
//for (index,line) in vid.iter().enumerate(){
|
||||||
println!("Line {}: {}\n\n", index, line);
|
// println!("Line {}: {}\n\n", index, line);
|
||||||
}
|
//}
|
||||||
let mut title = vid[4].split("title=\"").collect::<Vec<&str>>()[1].split("\"").collect::<Vec<&str>>()[0].to_string();
|
let mut title = vid[4].split("title=\"").collect::<Vec<&str>>()[1].split("\"").collect::<Vec<&str>>()[0].to_string();
|
||||||
title = decode(title.as_bytes()).to_string().unwrap_or(title);
|
title = decode(title.as_bytes()).to_string().unwrap_or(title);
|
||||||
let thumb = vid[14].split("data-src=\"").collect::<Vec<&str>>()[1].split("\"").collect::<Vec<&str>>()[0].to_string();
|
let thumb = vid[14].split("data-src=\"").collect::<Vec<&str>>()[1].split("\"").collect::<Vec<&str>>()[0].to_string();
|
||||||
|
|||||||
Reference in New Issue
Block a user