hentaihaven fix
This commit is contained in:
@@ -201,7 +201,12 @@ impl HentaihavenProvider {
|
||||
let block = match html
|
||||
.split("previouspostslink")
|
||||
.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,
|
||||
None => {
|
||||
|
||||
Reference in New Issue
Block a user