|
|
@@ -107,7 +107,7 @@ namespace FCS.Crawler.ZCLotteryTeam
|
|
|
dtomodel.Url = url;
|
|
|
dtomodel.Timeout = 10 * 1000;
|
|
|
dtomodel.IsCheckEmpty = false;
|
|
|
- HtmlDocument doc = CommonHelper.GetHtmlHtmlDocument(dtomodel);// CommonHelper.GetHtml(url, new Dictionary<string, string>(), "", "", 90000, 10);
|
|
|
+ HtmlDocument doc = CommonHelper.GetHtml(url, new Dictionary<string, string>(), "足彩", "", 10000, 100);//CommonHelper.GetHtmlHtmlDocument(dtomodel);// CommonHelper.GetHtml(url, new Dictionary<string, string>(), "", "", 90000, 10);
|
|
|
if (doc.DocumentNode.InnerHtml == "Termination")
|
|
|
{
|
|
|
return false;
|
|
|
@@ -183,7 +183,7 @@ namespace FCS.Crawler.ZCLotteryTeam
|
|
|
dtomodel.Url = url;
|
|
|
dtomodel.Timeout = 10 * 1000;
|
|
|
dtomodel.IsCheckEmpty = false;
|
|
|
- HtmlDocument doc = CommonHelper.GetHtmlHtmlDocument(dtomodel); //CommonHelper.GetHtml(mainUrl,new Dictionary<string, string>() ,"","",90000,10);
|
|
|
+ HtmlDocument doc = CommonHelper.GetHtml(url, new Dictionary<string, string>(), "足彩", "", 10000, 100);//CommonHelper.GetHtmlHtmlDocument(dtomodel); //CommonHelper.GetHtml(mainUrl,new Dictionary<string, string>() ,"","",90000,10);
|
|
|
if (doc.DocumentNode.InnerHtml == "Termination")
|
|
|
{
|
|
|
return "";
|