diff --git a/KoKo/SankakuComplex.fs b/KoKo/SankakuComplex.fs index b864a09..de5bdc0 100644 --- a/KoKo/SankakuComplex.fs +++ b/KoKo/SankakuComplex.fs @@ -63,7 +63,13 @@ type SankakuComplex (name, urlBase, sourceBase) = x.Source.Value ] - tags = x.Tags |> Seq.map (fun x -> x.NameEn) + tags = + x.Tags + |> Seq.choose (fun x -> + x.JsonValue.TryGetProperty("name") + |> Option.orElse (x.JsonValue.TryGetProperty("name_en")) + |> Option.orElse (x.JsonValue.TryGetProperty("name_jp"))) + |> Seq.map JsonExtensions.AsString previewImage = mapToImage x.PreviewUrl