MyHentaiGallery: remove broken images (#19318)
This commit is contained in:
parent
472ed1a1f8
commit
63e3fcef99
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'MyHentaiGallery'
|
extName = 'MyHentaiGallery'
|
||||||
pkgNameSuffix = 'en.myhentaigallery'
|
pkgNameSuffix = 'en.myhentaigallery'
|
||||||
extClass = '.MyHentaiGallery'
|
extClass = '.MyHentaiGallery'
|
||||||
extVersionCode = 4
|
extVersionCode = 5
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ class MyHentaiGallery : ParsedHttpSource() {
|
|||||||
// Pages
|
// Pages
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> {
|
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/"))
|
Page(i, "", img.attr("abs:src").replace("/thumbnail/", "/original/"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user