MyHentaiGallery: remove broken images (#19318)

This commit is contained in:
Vetle Ledaal 2023-12-21 12:32:00 +00:00 committed by GitHub
parent 472ed1a1f8
commit 63e3fcef99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MyHentaiGallery'
pkgNameSuffix = 'en.myhentaigallery'
extClass = '.MyHentaiGallery'
extVersionCode = 4
extVersionCode = 5
isNsfw = true
}

View File

@ -141,7 +141,7 @@ class MyHentaiGallery : ParsedHttpSource() {
// Pages
override fun pageListParse(document: Document): List<Page> {
return document.select("div.comic-thumb img").mapIndexed { i, img ->
return document.select("div.comic-thumb img[src]").mapIndexed { i, img ->
Page(i, "", img.attr("abs:src").replace("/thumbnail/", "/original/"))
}
}