private static string[] GetStreamMap(JObject json)
        {
            JToken streamMap = json["streamingData"]["formats"];

            var streamMapString = new List <string>();

            foreach (JObject format in streamMap)
            {
                if (format.ContainsKey("url"))
                {
                    streamMapString.Add($"url={HttpHelper.UrlEncode(format["url"].ToString())}");
                }
                else if (format.ContainsKey("cipher"))
                {
                    streamMapString.Add(format["cipher"].ToString());
                }
                else if (format.ContainsKey("signatureCipher"))
                {
                    streamMapString.Add(format["signatureCipher"].ToString());
                }
            }

            return(streamMapString.ToArray());
        }