|
|
|
@ -21,7 +21,7 @@ internal class MangaDistrict(context: MangaLoaderContext) :
|
|
|
|
override suspend fun getChapters(manga: Manga, doc: Document): List<MangaChapter> {
|
|
|
|
override suspend fun getChapters(manga: Manga, doc: Document): List<MangaChapter> {
|
|
|
|
val slug = manga.url.removeSuffix('/').substringAfterLast('/')
|
|
|
|
val slug = manga.url.removeSuffix('/').substringAfterLast('/')
|
|
|
|
val doc2 = webClient.httpPost(
|
|
|
|
val doc2 = webClient.httpPost(
|
|
|
|
"https://$domain/read-scan/$slug/ajax/chapters/",
|
|
|
|
"https://$domain/title/$slug/ajax/chapters/",
|
|
|
|
mapOf(),
|
|
|
|
mapOf(),
|
|
|
|
).parseHtml()
|
|
|
|
).parseHtml()
|
|
|
|
val ul = doc2.body().selectFirstOrThrow("ul")
|
|
|
|
val ul = doc2.body().selectFirstOrThrow("ul")
|
|
|
|
|