zh/boylove: Fix parsing popular page (#6964)
zh/boylove: fix popular list
This commit is contained in:
parent
5d402cc101
commit
ffd43e2873
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'BoyLove'
|
extName = 'BoyLove'
|
||||||
extClass = '.BoyLove'
|
extClass = '.BoyLove'
|
||||||
extVersionCode = 11
|
extVersionCode = 12
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ class BoyLove : HttpSource(), ConfigurableSource {
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
override fun popularMangaRequest(page: Int): Request =
|
override fun popularMangaRequest(page: Int): Request =
|
||||||
GET("$baseUrl/home/api/getpage/tp/1-topest-${page - 1}", headers)
|
GET("$baseUrl/home/api/getpage/tp/1-topestmh-${page - 1}", headers)
|
||||||
|
|
||||||
override fun popularMangaParse(response: Response): MangasPage {
|
override fun popularMangaParse(response: Response): MangasPage {
|
||||||
val listPage: ListPageDto<MangaDto> = response.parseAs()
|
val listPage: ListPageDto<MangaDto> = response.parseAs()
|
||||||
|
|
Loading…
Reference in New Issue