Koushoku: fix page selector (#12650)
This commit is contained in:
parent
4e30c58623
commit
a9a32bc6ac
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Koushoku'
|
||||
pkgNameSuffix = 'en.koushoku'
|
||||
extClass = '.Koushoku'
|
||||
extVersionCode = 6
|
||||
extVersionCode = 7
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ class Koushoku : ParsedHttpSource() {
|
|||
if (id.isNullOrEmpty())
|
||||
throw UnsupportedOperationException("Error: Unknown archive id")
|
||||
|
||||
val url = URL(document.selectFirst(".page img").attr("src"))
|
||||
val url = URL(document.selectFirst(".main img, main img").attr("src"))
|
||||
val origin = "${url.protocol}://${url.host}"
|
||||
|
||||
return (1..totalPages).map {
|
||||
|
|
Loading…
Reference in New Issue