using System;
using System.Collections;
using System.Threading;
using System.Data;
using System.Net;
using System.IO;
using System.Text.RegularExpressions;
===================================================
try{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(strSpiderURL);
request.Timeout = 300000;
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
System.IO.StreamReader srContent = new System.IO.StreamReader(response.GetResponseStream(),System.Text.Encoding.GetEncoding("gb2312"));
//获取抓取下来的页面内容
strPage = srContent.ReadToEnd();
response.Close();
srContent.Close();
}catch{
}