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> {
|
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!(
|
let video_url: String = format!(
|
||||||
"{}{}",
|
"{}{}",
|
||||||
self.url,
|
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?"){
|
if text.contains("Why do I see it?"){
|
||||||
return formats;
|
return formats;
|
||||||
}
|
}
|
||||||
for (index, line) in text.split("\n").enumerate() {
|
|
||||||
println!("Line {}: {}\n", index, line);
|
|
||||||
}
|
|
||||||
let video_url = format!("https:{}", text
|
let video_url = format!("https:{}", text
|
||||||
.split("url: '/blocks/altplayer.php?i=")
|
.split("url: '/blocks/altplayer.php?i=")
|
||||||
.collect::<Vec<&str>>()[1]
|
.collect::<Vec<&str>>()[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user