[Ru]Mangahub. Chapters move to /chapters/... url (#11145)
This commit is contained in:
parent
2368b37c7c
commit
ea2f15ba69
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Mangahub'
|
extName = 'Mangahub'
|
||||||
pkgNameSuffix = 'ru.mangahub'
|
pkgNameSuffix = 'ru.mangahub'
|
||||||
extClass = '.Mangahub'
|
extClass = '.Mangahub'
|
||||||
extVersionCode = 13
|
extVersionCode = 14
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -78,7 +78,7 @@ open class Mangahub : ParsedHttpSource() {
|
||||||
override fun searchMangaNextPageSelector(): String? = popularMangaNextPageSelector()
|
override fun searchMangaNextPageSelector(): String? = popularMangaNextPageSelector()
|
||||||
|
|
||||||
override fun chapterListRequest(manga: SManga): Request {
|
override fun chapterListRequest(manga: SManga): Request {
|
||||||
return GET(baseUrl + manga.url + "/chapters", headers)
|
return GET(baseUrl + ("/chapters/" + manga.url.removePrefix("/title/")), headers)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun mangaDetailsParse(document: Document): SManga {
|
override fun mangaDetailsParse(document: Document): SManga {
|
||||||
|
|
Loading…
Reference in New Issue