MangaPark v3 fix [Invalid Float=""] (#7203)

* MangaPark v3 fix [Invalid Float=""]

* Update build.gradle
This commit is contained in:
FourTOne5 2021-05-24 19:01:21 +06:00 committed by GitHub
parent 110f7330c5
commit 9f9ee6d4ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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
} }

View File

@ -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()