ManhuaRock: Change domain and fix pages (#7520)
change domain and fix pages
This commit is contained in:
parent
2d6ded730e
commit
b4f3f5f565
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = "ManhuaRock"
|
extName = "ManhuaRock"
|
||||||
extClass = ".ManhuaRock"
|
extClass = ".ManhuaRock"
|
||||||
extVersionCode = 10
|
extVersionCode = 11
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -34,7 +34,7 @@ class ManhuaRock : ParsedHttpSource() {
|
||||||
|
|
||||||
override val lang = "vi"
|
override val lang = "vi"
|
||||||
|
|
||||||
override val baseUrl = "https://manhuarockz.com"
|
override val baseUrl = "https://manhuarock1.com"
|
||||||
|
|
||||||
override val supportsLatest = true
|
override val supportsLatest = true
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ class ManhuaRock : ParsedHttpSource() {
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
return document.select("img").mapIndexed { i, it ->
|
return document.select("img").mapIndexed { i, it ->
|
||||||
Page(i, imageUrl = it.attr("abs:data-src"))
|
Page(i, imageUrl = it.attr("abs:src"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue