Skip to content

Commit

Permalink
update url
Browse files Browse the repository at this point in the history
  • Loading branch information
SaurabhKaperwan committed Nov 9, 2024
1 parent 922c630 commit 4e1f63b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Bollyflix/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 6
version = 7

cloudstream {
language = "hi"
Expand Down
4 changes: 2 additions & 2 deletions Bollyflix/src/main/kotlin/com/megix/BollyflixProvider.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -68,7 +68,7 @@ class BollyflixProvider : MainAPI() { // all providers must be an instance of Ma
override suspend fun search(query: String): List<SearchResponse> {
val searchResponse = mutableListOf<SearchResponse>()

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() }
Expand Down

0 comments on commit 4e1f63b

Please sign in to comment.