removed debug prints

This commit is contained in:
Simon
2025-11-29 08:24:14 +00:00
parent 53ac33f856
commit cafb990fd4

View File

@@ -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]