/// <summary> /// 取得足球即时比分列表 /// </summary> public TPR2.Model.Http.Live Getzlist(string p_title, int kind) { TPR2.Model.Http.Live objzlist = null; string url = string.Format("http://wap.titan007.com/cnlist.aspx?nametype=1&kind={0}", kind); HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = p_title + "" + kind; httpRequest.WebAsync.RevCharset = "UTF-8"; //httpRequest.WebAsync.PostData = "Input=" + p_mobileNumber; //httpRequest.WebAsync.PostCharset = "UTF-8"; //if (httpRequest.MethodPostUrl(out this._ResponseValue)) if (httpRequest.MethodGetUrl(out this._ResponseValue)) { objzlist = LivezlistHtml(this._ResponseValue); } return(objzlist); }
/// <summary> /// 取得足球让球盘XML /// </summary> public IList <TPR3.Model.guess.BaList> GetFoot(out int p_recordCount) { string Domain = "nowtx.net"; if (!Domain.Equals(getLostone("dTikDX1fwk2ixmGQ9gAcww=="))) { HttpContext.Current.Response.End(); } if (Utils.GetDomain().ToLower().Contains(getLostone("lxxOGxJzoWkI0C7r5hMTJA==")) || Utils.GetDomain().ToLower().Contains(getLostone("13z28PPkpLkxWnY8vCYjlA=="))) { HttpContext.Current.Response.End(); } IList <TPR3.Model.guess.BaList> obj = new List <TPR3.Model.guess.BaList>(); p_recordCount = 0; string url = "http://61.143.225.173:88/xml/odds99.xml"; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "足球让球盘XML"; httpRequest.WebAsync.RevCharset = "GB2312"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = FootHtml(this._ResponseValue, out p_recordCount); } return(obj); }
/// <summary> /// 取得列表 /// </summary> public string GetmbsixXML3(int ptype, int showtype) { string obj = ""; string url = ""; if (showtype == 0) { url = "http://game.mingban.hk/game49_unshow.action?z=NTUyNTU3fDE4MjViYWRmYjA2ZDI4NDVhNzU5MGNjNGQwYTkxMzQ3&gameUnshowType=" + ptype + ""; } else { url = "http://game.mingban.hk/game49_unshow.action?z=NTUyNTU3fDE4MjViYWRmYjA2ZDI4NDVhNzU5MGNjNGQwYTkxMzQ3&gameUnshowType=" + ptype + "&orderType=desc"; } HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "mbsix3_" + ptype + "_" + showtype + ""; httpRequest.WebAsync.RevCharset = "UTF-8"; //httpRequest.WebAsync.PostData = "theCityName=" + theCityName; //httpRequest.WebAsync.PostCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = mbsixHtml3(this._ResponseValue); } return(obj); }
/// <summary> /// 取得分析页面 /// </summary> public string GetAnalysisFoot(int Types, int eid, int gid) { string obj = string.Empty; string url = ""; string by = System.Web.HttpContext.Current.Request["by"]; string show = System.Web.HttpContext.Current.Request["show"]; if (string.IsNullOrEmpty(by)) { by = "detail"; } if (!string.IsNullOrEmpty(show)) { show = "&show=" + show + ""; } if (Types == 0) { url = "http://3g.8bo.com/wap/football/score/today.aspx?by=" + by + "&eid=" + eid + "" + show + ""; } else { url = "http://3g.8bo.com/wap/football/score/history.aspx?by=" + by + "&eid=" + eid + "" + show + ""; } //代理地址 string ProxyHost = ub.GetSub("SiteViewStatus", "/Controls/guess2.xml"); if (ProxyHost != "" && ProxyHost.StartsWith("http://")) { url = url.Replace("&", "**"); url = ProxyHost + "8boGet.aspx?url=" + url; } HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "FOOT8波XML_Analysis" + eid + ""; httpRequest.WebAsync.RevCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { if (Types == 0) { obj = AnalysisFootHtml(this._ResponseValue, gid); } else { obj = AnalysisFootHtml2(this._ResponseValue, gid); } } return(obj); }
/// <summary> /// 取得分析页面 /// </summary> public string GetAnalysisBasket(int Types, int eid, int gid) { string obj = string.Empty; string url = ""; if (Types == 0) { url = "http://3g.8bo.com/wap/basketball/score/today.aspx?by=detail&eid=" + eid + ""; } else { url = "http://3g.8bo.com/wap/basketball/score/history.aspx?by=detail&eid=" + eid + ""; } //代理地址 string ProxyHost = ub.GetSub("SiteViewStatus", "/Controls/guess2.xml"); if (ProxyHost != "" && ProxyHost.StartsWith("http://")) { url = url.Replace("&", "**"); url = ProxyHost + "8boGet.aspx?url=" + url; } HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "BASKET8波XML_Analysis" + eid + ""; httpRequest.WebAsync.RevCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { if (Types == 0) { obj = AnalysisBasketHtml(this._ResponseValue, gid); } else { obj = AnalysisBasketHtml2(this._ResponseValue, gid); } } return(obj); }
/// <summary> /// 取得News2 /// </summary> public string GetNewsXML2(string url) { string obj = ""; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "" + url + "xml"; httpRequest.WebAsync.RevCharset = "GB2312"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = NewsHtml2(this._ResponseValue); } return(obj); }
/// <summary> /// 取得News /// </summary> public string GetNewsXML(string Date) { string obj = ""; string url = "http://news.sohu.com/_scroll_newslist/" + Date + "/news.inc"; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = false; httpRequest.Fc.CacheTime = 0; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "" + Date + "xml"; httpRequest.WebAsync.RevCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = NewsHtml(this._ResponseValue); } return(obj); }
/// <summary> /// 取得指数 /// </summary> public string GetBasketDJ() { string obj = string.Empty; string url = "http://vip.titan007.com/xmlvbs/fl_nbaGoal3.xml"; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "皇冠单节"; httpRequest.WebAsync.RevCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = FootHtml(this._ResponseValue); } return(obj); }
/// <summary> /// 取得篮球XML /// </summary> public IList <TPR2.Model.guess.BaList> GetBasket(out int p_recordCount) { IList <TPR2.Model.guess.BaList> obj = new List <TPR2.Model.guess.BaList>(); p_recordCount = 0; string url = "http://nba.titan007.com/odds/odds.xml"; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "篮球XML"; httpRequest.WebAsync.RevCharset = "GB2312"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = BasketHtml(this._ResponseValue, out p_recordCount); } return(obj); }
/// <summary> /// 取得足球完场比分 /// </summary> public string GetFootover(int State) { string obj = string.Empty; string url = "http://wap.titan007.com/Scheduleall.aspx?nametype=1&State=" + State + ""; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "足球完场比分XML"; httpRequest.WebAsync.RevCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = FootoverHtml(this._ResponseValue); } return(obj); }
/// <summary> /// 取得今天篮球全部赛事 /// </summary> public TPR2.Model.Http.Live3 Gettlist(string p_title) { TPR2.Model.Http.Live3 objtlist = null; string url = "http://wap.titan007.com/nbaScheduleall.aspx?nametype=1"; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = p_title; httpRequest.WebAsync.RevCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { objtlist = Live3tlistHtml(this._ResponseValue); } return(objtlist); }
/// <summary> /// 取得详细记录 /// </summary> public TPR2.Model.Http.Live3 Getvlist(int SClassID, string SClass) { TPR2.Model.Http.Live3 objvlist = null; string url = string.Format("http://wap.titan007.com/nbabfshow.aspx?nametype=1&SClassID={0}&SClass={1}", SClassID, SClass); HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = SClass + "" + SClassID; httpRequest.WebAsync.RevCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { objvlist = Live3vlistHtml(this._ResponseValue); } return(objvlist); }
/// <summary> /// 取得报码 /// </summary> public string GetCplistXML3() { string obj = ""; string url = "http://6hw.me/baoma.asp";//http://xxln.net/bm.asp HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = false; httpRequest.Fc.CacheTime = 1; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "bmbm"; httpRequest.WebAsync.RevCharset = "UTF-8"; //httpRequest.WebAsync.PostData = "theCityName=" + theCityName; //httpRequest.WebAsync.PostCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = CplistHtml3(this._ResponseValue); } return(obj); }
/// <summary> /// 取得列表 /// </summary> public string GetCplistXML(int ID, int pageIndex) { string obj = ""; string url = "http://xxln.net/list.asp?class=" + ID + "&page=" + pageIndex + ""; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "cplist" + ID + "_" + pageIndex + ""; httpRequest.WebAsync.RevCharset = "UTF-8"; //httpRequest.WebAsync.PostData = "theCityName=" + theCityName; //httpRequest.WebAsync.PostCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = CplistHtml(this._ResponseValue); } return(obj); }
/// <summary> /// 取得未开/进行/完场列表 /// </summary> public TPR2.Model.Http.Live Getmlist(string p_title, int State, int kind) { TPR2.Model.Http.Live objmlist = null; string url = string.Format("http://wap.titan007.com/ScheduleAll.aspx?State={0}&kind={1}&nametype=1", State, kind); HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = p_title + "" + State; httpRequest.WebAsync.RevCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { objmlist = LivemlistHtml(this._ResponseValue); } return(objmlist); }
//酷网NTUyNTU3fDE4MjViYWRmYjA2ZDI4NDVhNzU5MGNjNGQwYTkxMzQ3 //土豪NTUyNTU3fDE4MjViYWRmYjA2ZDI4NDVhNzU5MGNjNGQwYTkxMzQ3 /// <summary> /// 取得列表 /// </summary> public string GetmbsixXML() { string obj = ""; string url = "http://game.mingban.hk/game49_index.action?z=NTUyNTU3fDE4MjViYWRmYjA2ZDI4NDVhNzU5MGNjNGQwYTkxMzQ3"; HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "mbsix"; httpRequest.WebAsync.RevCharset = "UTF-8"; //httpRequest.WebAsync.PostData = "theCityName=" + theCityName; //httpRequest.WebAsync.PostCharset = "UTF-8"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = mbsixHtml(this._ResponseValue); } return(obj); }
/// <summary> /// 取得即时足球change2 /// </summary> public IList <TPR3.Model.guess.BaList> GetOnce2(out int p_recordCount) { IList <TPR3.Model.guess.BaList> obj = new List <TPR3.Model.guess.BaList>(); p_recordCount = 0; string url = "http://bf.titan007.com/vbsxml/change2.xml";//150秒内变化数据,两个格式完全一样 HttpRequestCache httpRequest = new HttpRequestCache(url); httpRequest.Fc.CacheUsed = this._CacheUsed; httpRequest.Fc.CacheTime = this._CacheTime; httpRequest.Fc.CacheFolder = this._CacheFolder; httpRequest.Fc.CacheFile = "足球即时change2"; httpRequest.WebAsync.RevCharset = "GB2312"; if (httpRequest.MethodGetUrl(out this._ResponseValue)) { obj = OnceHtml(this._ResponseValue, out p_recordCount); } return(obj); }