This commit is contained in:
hexated 2022-09-03 08:42:13 +07:00
parent 70e34a0ca1
commit d4cc8bc57d

View file

@ -11,6 +11,7 @@ class Gomunimeis : MainAPI() {
override var name = "Gomunime.is" override var name = "Gomunime.is"
override val hasMainPage = true override val hasMainPage = true
override var lang = "id" override var lang = "id"
override val hasQuickSearch = true
override val hasDownloadSupport = true override val hasDownloadSupport = true
override val supportedTypes = setOf( override val supportedTypes = setOf(
@ -72,6 +73,8 @@ class Gomunimeis : MainAPI() {
} }
} }
override suspend fun quickSearch(query: String): List<SearchResponse> = search(query)
override suspend fun search(query: String): List<SearchResponse> { override suspend fun search(query: String): List<SearchResponse> {
return app.get( return app.get(
"$mainUrl/my-ajax?page=1&limit=10&action=load_search_movie&keyword=$query", "$mainUrl/my-ajax?page=1&limit=10&action=load_search_movie&keyword=$query",