mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
fixed seaching with spaces
This commit is contained in:
parent
0fc1147600
commit
9728bfe2c2
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ class SflixProvider : MainAPI() {
|
||||||
get() = VPNStatus.None
|
get() = VPNStatus.None
|
||||||
|
|
||||||
override fun search(query: String): List<SearchResponse> {
|
override fun search(query: String): List<SearchResponse> {
|
||||||
val url = "$mainUrl/search/$query"
|
val url = "$mainUrl/search/${query.replace(" ", "-")}"
|
||||||
val html = get(url).text
|
val html = get(url).text
|
||||||
val document = Jsoup.parse(html)
|
val document = Jsoup.parse(html)
|
||||||
|
|
||||||
|
@ -341,4 +341,4 @@ class SflixProvider : MainAPI() {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue