small fix

This commit is contained in:
hexated 2023-02-19 22:52:59 +07:00
parent 5f21f5118d
commit 5fe071e03e

View file

@ -185,7 +185,7 @@ open class SoraStream : TmdbProvider() {
request: MainPageRequest request: MainPageRequest
): HomePageResponse { ): HomePageResponse {
val adultQuery = val adultQuery =
if (settingsForProvider.enableAdult) "" else "&without_keywords=190370|13059|226161|195669" if (settingsForProvider.enableAdult) "" else "&without_keywords=190370|13059|226161|195669|190370"
val type = if (request.data.contains("/movie")) "movie" else "tv" val type = if (request.data.contains("/movie")) "movie" else "tv"
val home = app.get("${request.data}$adultQuery&page=$page") val home = app.get("${request.data}$adultQuery&page=$page")
.parsedSafe<Results>()?.results .parsedSafe<Results>()?.results