This commit is contained in:
Simon
2026-01-14 15:41:22 +00:00
parent 4f9c7835bf
commit e2f3bc2ecb
3 changed files with 142 additions and 214 deletions

View File

@@ -212,7 +212,6 @@ impl HypnotubeProvider {
.await
.unwrap();
if text.contains("Sorry, no results were found.") {
eprintln!("Hypnotube query returned no results for page {}", page);
return vec![];
}
let video_items: Vec<VideoItem> = self.get_video_items_from_html(text.clone()).await;
@@ -281,7 +280,6 @@ impl HypnotubeProvider {
// println!("Hypnotube search POST response status: {}", p.text().await.unwrap_or_default());
// let text = requester.get(&video_url, Some(Version::HTTP_11)).await.unwrap();
if text.contains("Sorry, no results were found.") {
eprint!("Hypnotube query returned no results for page {}", page);
return vec![];
}
let video_items: Vec<VideoItem> = self.get_video_items_from_html(text.clone()).await;