fixed bgposter Loklok

This commit is contained in:
hexated 2022-12-09 21:21:35 +07:00
parent 5bec47b3b2
commit bd3174ee34

View file

@ -160,6 +160,7 @@ class Loklok : MainAPI() {
episodes episodes
) { ) {
this.posterUrl = res.coverVerticalUrl this.posterUrl = res.coverVerticalUrl
this.backgroundPosterUrl = res.coverHorizontalUrl
this.year = res.year this.year = res.year
this.plot = res.introduction this.plot = res.introduction
this.tags = res.tagNameList this.tags = res.tagNameList
@ -296,6 +297,7 @@ class Loklok : MainAPI() {
@JsonProperty("year") val year: Int? = null, @JsonProperty("year") val year: Int? = null,
@JsonProperty("category") val category: String? = null, @JsonProperty("category") val category: String? = null,
@JsonProperty("coverVerticalUrl") val coverVerticalUrl: String? = null, @JsonProperty("coverVerticalUrl") val coverVerticalUrl: String? = null,
@JsonProperty("coverHorizontalUrl") val coverHorizontalUrl: String? = null,
@JsonProperty("score") val score: String? = null, @JsonProperty("score") val score: String? = null,
@JsonProperty("episodeVo") val episodeVo: ArrayList<EpisodeVo>? = arrayListOf(), @JsonProperty("episodeVo") val episodeVo: ArrayList<EpisodeVo>? = arrayListOf(),
@JsonProperty("likeList") val likeList: ArrayList<Media>? = arrayListOf(), @JsonProperty("likeList") val likeList: ArrayList<Media>? = arrayListOf(),