Filman works again (#49)

Co-authored-by: Jakup <jacobtm@jacobtm.tk>
This commit is contained in:
Jakup 2022-11-15 13:59:50 +01:00 committed by GitHub
parent 3a26bd3a92
commit c4aafeba1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ cloudstream {
* 2: Slow
* 3: Beta only
* */
status = 0 // will be 3 if unspecified
status = 1 // will be 3 if unspecified
tvTypes = listOf(
"TvSeries",
"Movie",

View file

@ -52,7 +52,7 @@ class FilmanProvider : MainAPI() {
}
override suspend fun search(query: String): List<SearchResponse> {
val url = "$mainUrl/wyszukiwarka?phrase=$query"
val url = "$mainUrl/item?phrase=$query"
val document = app.get(url).document
val lists = document.select("#advanced-search > div")
val movies = lists[1].select("#item-list > div:not(.clearfix)")