MangaPark v3 fix [Invalid Float=""] (#7203)
* MangaPark v3 fix [Invalid Float=""] * Update build.gradle
This commit is contained in:
parent
110f7330c5
commit
9f9ee6d4ff
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'MangaPark v3'
|
extName = 'MangaPark v3'
|
||||||
pkgNameSuffix = 'all.mangapark'
|
pkgNameSuffix = 'all.mangapark'
|
||||||
extClass = '.MangaParkFactory'
|
extClass = '.MangaParkFactory'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
containsNsfw = true
|
containsNsfw = true
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@ open class MangaPark(
|
||||||
return when {
|
return when {
|
||||||
query.startsWith("ID:") -> {
|
query.startsWith("ID:") -> {
|
||||||
val id = query.substringAfter("ID:")
|
val id = query.substringAfter("ID:")
|
||||||
client.newCall(GET("$baseUrl/series/$id", headers)).asObservableSuccess()
|
client.newCall(GET("$baseUrl/comic/$id", headers)).asObservableSuccess()
|
||||||
.map { response ->
|
.map { response ->
|
||||||
queryIDParse(response, id)
|
queryIDParse(response, id)
|
||||||
}
|
}
|
||||||
|
@ -195,7 +195,7 @@ open class MangaPark(
|
||||||
return super.chapterListRequest(manga)
|
return super.chapterListRequest(manga)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun chapterListSelector() = "div#mainer div.container-fluid div.episode-list div#episodes-lang-$siteLang"
|
override fun chapterListSelector() = "div#mainer div.container-fluid div.episode-list div#episodes-lang-$siteLang div.p-2"
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element): SChapter {
|
override fun chapterFromElement(element: Element): SChapter {
|
||||||
val chapter = SChapter.create()
|
val chapter = SChapter.create()
|
||||||
|
|
Loading…
Reference in New Issue