hentaihaven fix

This commit is contained in:
Simon
2026-03-21 17:53:07 +00:00
parent 1b32df0c35
commit 75b7241803

View File

@@ -201,7 +201,12 @@ impl HentaihavenProvider {
let block = match html let block = match html
.split("previouspostslink") .split("previouspostslink")
.next() .next()
.and_then(|s| s.split("vraven_manga_list").nth(1)) .and_then(|s| {
s.split("vraven_manga_list").nth(1).or_else(|| {
s.find(r#"<div class="page-content-listing item-big_thumbnail">"#)
.map(|idx| &s[idx..])
})
})
{ {
Some(b) => b, Some(b) => b,
None => { None => {