protected override void ParseCookies(string SetCookie) { if (SetCookie == null) { return; } if (JvedioServers.FC2.Cookie != "") { return; } List <string> Cookies = new List <string>(); var values = SetCookie.Split(new char[] { ',', ';' }).ToList(); foreach (var item in values) { if (item.IndexOf('=') < 0) { continue; } string key = item.Split('=')[0]; string value = item.Split('=')[1]; if (key == "CONTENTS_FC2_PHPSESSID" || key == "contents_mode" || key == "contents_func_mode") { Cookies.Add(key + "=" + value); } } string cookie = string.Join(";", Cookies); JvedioServers.FC2.Cookie = cookie; JvedioServers.Save(); }
protected override void ParseCookies(string SetCookie) { if (SetCookie == null) { return; } List <string> Cookies = new List <string>(); var values = SetCookie.Split(new char[] { ',', ';' }).ToList(); foreach (var item in values) { if (item.IndexOf('=') < 0) { continue; } string key = item.Split('=')[0]; string value = item.Split('=')[1]; if (key == "__cfduid" || key == "is_loyal") { Cookies.Add(key + "=" + value); } } string cookie = string.Join(";", Cookies); JvedioServers.Jav321.Cookie = cookie; JvedioServers.Save(); }
protected override void ParseCookies(string SetCookie) { if (SetCookie == null) { return; } List <string> Cookies = new List <string>(); var values = SetCookie.Split(new char[] { ',', ';' }).ToList(); foreach (var item in values) { if (item.IndexOf('=') < 0) { continue; } string key = item.Split('=')[0]; string value = item.Split('=')[1]; if (key == "__cfduid" || key == "PHPSESSID" || key == "existmag") { Cookies.Add(key + "=" + value); } } string cookie = string.Join(";", Cookies); if (VedioType == VedioType.欧美) { JvedioServers.BusEurope.Cookie = cookie; } else { JvedioServers.Bus.Cookie = cookie; } JvedioServers.Save(); }
protected override void ParseCookies(string SetCookie) { if (string.IsNullOrEmpty(SetCookie)) { return; } List <string> Cookies = new List <string>(); var values = SetCookie.Split(new char[] { ',', ';' }).ToList(); foreach (var item in values) { if (item.IndexOf('=') < 0) { continue; } string key = item.Split('=')[0]; string value = item.Split('=')[1]; if (key == "__cfduid" || key == "__qca") { Cookies.Add(key + "=" + value); } } Cookies.Add("over18=18"); string cookie = string.Join(";", Cookies); JvedioServers.Library.Cookie = cookie; JvedioServers.Save(); }