Update EgyBestProvider.kt
This commit is contained in:
parent
98e599dc1b
commit
2fe11231df
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class EgyBest : MainAPI() {
|
||||||
|
|
||||||
override suspend fun getMainPage(page: Int, request : MainPageRequest): HomePageResponse {
|
override suspend fun getMainPage(page: Int, request : MainPageRequest): HomePageResponse {
|
||||||
val doc = app.get(request.data + page).document
|
val doc = app.get(request.data + page).document
|
||||||
val list = it.select(".movie").map { element ->
|
val list = doc.select(".movie").map { element ->
|
||||||
element.toSearchResponse()
|
element.toSearchResponse()
|
||||||
}
|
}
|
||||||
return newHomePageResponse(request.name, list)
|
return newHomePageResponse(request.name, list)
|
||||||
|
|
Loading…
Reference in a new issue