ManhwasNet: Fix images not being found error reported in Discord (#11710)
* ManhwasNet: Fix images not found * bleh
This commit is contained in:
parent
9340d2df64
commit
6feef81ed7
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Manhwas.net'
|
extName = 'Manhwas.net'
|
||||||
pkgNameSuffix = 'es.manhwasnet'
|
pkgNameSuffix = 'es.manhwasnet'
|
||||||
extClass = '.ManhwasNet'
|
extClass = '.ManhwasNet'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ class ManhwasNet : HttpSource() {
|
||||||
|
|
||||||
override fun pageListParse(response: Response): List<Page> {
|
override fun pageListParse(response: Response): List<Page> {
|
||||||
val document = response.asJsoup()
|
val document = response.asJsoup()
|
||||||
return document.select("#imgs img").mapIndexed { i, img ->
|
return document.select("#chapter_imgs img").mapIndexed { i, img ->
|
||||||
val url = img.attr("src")
|
val url = img.attr("src")
|
||||||
Page(i, imageUrl = url)
|
Page(i, imageUrl = url)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue