removed debug prints
This commit is contained in:
@@ -145,10 +145,6 @@ impl HqpornerProvider {
|
||||
}
|
||||
|
||||
async fn get_video_item(&self, video_segment: String, mut requester: Requester) -> Result<VideoItem> {
|
||||
let vid = video_segment.split("\n").collect::<Vec<&str>>();
|
||||
for (index, line) in vid.iter().enumerate() {
|
||||
println!("Line {}: {}\n", index, line);
|
||||
}
|
||||
let video_url: String = format!(
|
||||
"{}{}",
|
||||
self.url,
|
||||
@@ -210,9 +206,6 @@ async fn get_media_formats(video_page_url: &str, requester: &mut Requester) -> V
|
||||
if text.contains("Why do I see it?"){
|
||||
return formats;
|
||||
}
|
||||
for (index, line) in text.split("\n").enumerate() {
|
||||
println!("Line {}: {}\n", index, line);
|
||||
}
|
||||
let video_url = format!("https:{}", text
|
||||
.split("url: '/blocks/altplayer.php?i=")
|
||||
.collect::<Vec<&str>>()[1]
|
||||
|
||||
Reference in New Issue
Block a user