[Ru]Mangahub. Chapters move to /chapters/... url (#11145)

This commit is contained in:
Pavka 2022-03-16 20:17:07 +03:00 committed by GitHub
parent 2368b37c7c
commit ea2f15ba69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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