fixed Loklok home

This commit is contained in:
hexated 2022-09-16 18:06:14 +07:00
parent fe9be46b10
commit 837835fd1a
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 3
version = 4
cloudstream {

View file

@ -41,7 +41,7 @@ class Loklok : MainAPI() {
override suspend fun getMainPage(page: Int, request: MainPageRequest): HomePageResponse {
val home = ArrayList<HomePageList>()
for (i in 0..10) {
for (i in 0..8) {
delay(500)
app.get("$apiUrl/homePage/getHome?page=$i", headers = headers)
.parsedSafe<Home>()?.data?.recommendItems