Skip to content

Commit 1aa2838

Browse files
committed
xcine: fix invalid recommendations object id
1 parent 6482960 commit 1aa2838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xcine/src/main/kotlin/com/bnyro/XCineBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ abstract class XCineBase : MainAPI() {
7777
val type = if (res.tv == 1) "tv" else "movie"
7878

7979
val recommendations =
80-
app.get("$mainAPI/data/related_movies/?lang=2&cat=$type&_id=$url&server=0")
80+
app.get("$mainAPI/data/related_movies/?lang=2&cat=$type&_id=$id")
8181
.parsed<RecommendationsResponse>()
8282
.mapNotNull { it.toSearchResponse() }
8383

0 commit comments

Comments
 (0)