采集(未测试)

  string dltUrl = "http://caipiao.taobao.com/lottery/order/united_hall.htm?spm=0.0.0.0.DDPcSQ&lottery_type=3D";

            HttpHelper objhttp    =   new HttpHelper();    //参数对象      
            HttpItem  objHttpItem =   new HttpItem()            
            {               
                URL = dltUrl,                           
                Method = "GET",           
            };
            HttpResult result = objhttp.GetHtml(objHttpItem);    //取Html        
            string html = result.Html;

            string tb_token = result.Cookie.Substring(result.Cookie.IndexOf("HttpOnly,_t")+20);
            string[] tb_token_array = tb_token.Split(";".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);

            dltUrl = "http://caipiao.taobao.com/lottery/order/united_hall.htm?_tb_token_=" + tb_token_array[0] + "&page=2&lottery_type=3D&sort_obj=process&sort=desc&change_sort=&lowAmount=&highAmount=&play_type=0&issue=2013185&status=1&amountSec=0-0&commissionRate=-1&creator=";
            objHttpItem = new HttpItem()                   //参数对象 
            {
                URL = dltUrl,
                //  Encoding = "gb2312",
                Method = "GET",
                Cookie = objHttpItem.Cookie,
            };            //取Html          
            result = objhttp.GetHtml(objHttpItem);
            html = result.Html;
原文地址:https://www.cnblogs.com/romanticcrystal/p/13175251.html