mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
test
This commit is contained in:
parent
1cd7425223
commit
51556f94b6
1 changed files with 0 additions and 1 deletions
|
@ -50,7 +50,6 @@ 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..6) {
|
for (i in 0..6) {
|
||||||
// delay(500)
|
|
||||||
app.get("$apiUrl/homePage/getHome?page=$i", headers = headers)
|
app.get("$apiUrl/homePage/getHome?page=$i", headers = headers)
|
||||||
.parsedSafe<Home>()?.data?.recommendItems.orEmpty().ifEmpty { throw ErrorLoadingException(geoblockError) }
|
.parsedSafe<Home>()?.data?.recommendItems.orEmpty().ifEmpty { throw ErrorLoadingException(geoblockError) }
|
||||||
.filterNot { it.homeSectionType == "BLOCK_GROUP" }
|
.filterNot { it.homeSectionType == "BLOCK_GROUP" }
|
||||||
|
|
Loading…
Reference in a new issue