mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed Loklok home
This commit is contained in:
parent
fe9be46b10
commit
837835fd1a
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 3
|
version = 4
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -41,7 +41,7 @@ class Loklok : MainAPI() {
|
||||||
|
|
||||||
override suspend fun getMainPage(page: Int, request: MainPageRequest): HomePageResponse {
|
override suspend fun getMainPage(page: Int, request: MainPageRequest): HomePageResponse {
|
||||||
val home = ArrayList<HomePageList>()
|
val home = ArrayList<HomePageList>()
|
||||||
for (i in 0..10) {
|
for (i in 0..8) {
|
||||||
delay(500)
|
delay(500)
|
||||||
app.get("$apiUrl/homePage/getHome?page=$i", headers = headers)
|
app.get("$apiUrl/homePage/getHome?page=$i", headers = headers)
|
||||||
.parsedSafe<Home>()?.data?.recommendItems
|
.parsedSafe<Home>()?.data?.recommendItems
|
||||||
|
|
Loading…
Reference in a new issue