hentaihaven: fixed a bug that would not get pages >1

This commit is contained in:
Simon
2026-02-23 11:41:06 +00:00
parent 36c482a615
commit dfbcf85ddf

View File

@@ -103,14 +103,6 @@ impl HentaihavenProvider {
.get(&video_url, Some(Version::HTTP_2))
.await
.unwrap();
if page > 1
&& !text.contains(&format!(
"<li class=\"page-item active\"><span class=\"page-link\">{}</span>",
page
))
{
return Ok(vec![]);
}
let video_items: Vec<VideoItem> = self
.get_video_items_from_html(text.clone(), &mut requester, pool.clone())
.await;