diff --git a/Bollyflix/build.gradle.kts b/Bollyflix/build.gradle.kts index 39aae97..2f4a43a 100644 --- a/Bollyflix/build.gradle.kts +++ b/Bollyflix/build.gradle.kts @@ -1,4 +1,4 @@ -version = 6 +version = 7 cloudstream { language = "hi" diff --git a/Bollyflix/src/main/kotlin/com/megix/BollyflixProvider.kt b/Bollyflix/src/main/kotlin/com/megix/BollyflixProvider.kt index 249589a..aced205 100644 --- a/Bollyflix/src/main/kotlin/com/megix/BollyflixProvider.kt +++ b/Bollyflix/src/main/kotlin/com/megix/BollyflixProvider.kt @@ -11,7 +11,7 @@ import com.google.gson.Gson import com.lagradost.cloudstream3.utils.AppUtils.parseJson class BollyflixProvider : MainAPI() { // all providers must be an instance of MainAPI - override var mainUrl = "https://bollyflix.date" + override var mainUrl = "https://bollyflix.ninja" override var name = "BollyFlix" override val hasMainPage = true override var lang = "hi" @@ -68,7 +68,7 @@ class BollyflixProvider : MainAPI() { // all providers must be an instance of Ma override suspend fun search(query: String): List { val searchResponse = mutableListOf() - for (i in 1..10) { + for (i in 1..6) { val document = app.get("$mainUrl/search/$query/page/$i/").document val results = document.select("div.post-cards > article").mapNotNull { it.toSearchResult() }