public static async Task <AccessVideo> GetAccessVideoAsync(IDataServer server, string broadcast_id, CookieContainer cc) { if (string.IsNullOrEmpty(broadcast_id)) { throw new ArgumentNullException(nameof(broadcast_id)); } var url = "https://proxsee.pscp.tv/api/v2/accessVideo"; var json = "{\"broadcast_id\":\"" + broadcast_id + "\",\"replay_redirect\":false}"; var headers = new Dictionary <string, string> { { "X-Periscope-Csrf", "Periscope" }, }; var res = await server.PostJsonAsync(url, headers, json, cc); var obj = Tools.Deserialize <Low.AccessVideo.RootObject>(res); return(new AccessVideo(obj)); }