|
|
@@ -177,8 +177,13 @@ namespace FCS.Crawler.ZCLotteryAgainst
|
|
|
string.Empty : d.Code == sixHalfCode ? q.zuizhongbifen.Split(';')[index].Split(',')[0] : string.Empty),
|
|
|
Result = (vreifiList.Contains(q.zuizhongbifen.Trim()) ?
|
|
|
string.Empty : d.Code == sixHalfCode ? q.zuizhongbifen.Split(';')[index].Split(',')[1] : q.zuizhongbifen.Split(';')[index]),
|
|
|
- HalfColourFruit = (d.Code == sixHalfCode || d.Code == fourCode ? q.code == "0" ? string.Empty : q.code.Split(',')[index * 2 + 1] : string.Empty).Replace("-", ""),
|
|
|
- ColourFruit = (d.Code == sixHalfCode || d.Code == fourCode ? q.code == "0" ? string.Empty : q.code.Split(',')[index * 2 + 2] : q.code == "0" ? string.Empty : q.code.Split(',')[index]).Replace("-", ""),
|
|
|
+ HalfColourFruit = (d.Code == sixHalfCode || d.Code == fourCode
|
|
|
+ ? q.code == "0" ? string.Empty : q.code.Split(',')[index * 2]
|
|
|
+ : string.Empty).Replace("-", ""),
|
|
|
+ ColourFruit = (d.Code == sixHalfCode || d.Code == fourCode
|
|
|
+ ? q.code == "0" ? string.Empty : q.code.Split(',')[index * 2 +1]
|
|
|
+ : q.code == "0" ? string.Empty : q.code.Split(',')[index]
|
|
|
+ ).Replace("-", ""),
|
|
|
Compensate_SOdd = q.europeSp.Trim().IsEmpty() ? 0 : float.Parse(q.europeSp.Split(' ')[0]),
|
|
|
Compensate_POdd = q.europeSp.Trim().IsEmpty() ? 0 : float.Parse(q.europeSp.Split(' ')[1]),
|
|
|
Compensate_FOdd = q.europeSp.Trim().IsEmpty() ? 0 : float.Parse(q.europeSp.Split(' ')[2]),
|
|
|
@@ -244,7 +249,7 @@ namespace FCS.Crawler.ZCLotteryAgainst
|
|
|
//期数2
|
|
|
var url = model.SessionUrl2 + CommonHelper.ConvertDateTimeToInt(DateTime.Now);
|
|
|
doc = CommonHelper.GetHtmlHtmlDocument(new HtmlParameterDTO { Url = url, Timeout = 10 * 1000 });
|
|
|
- while (doc.DocumentNode.InnerText.ToLower().Contains("html") || doc.DocumentNode.InnerText.ToLower().Contains("url"))
|
|
|
+ while (doc.DocumentNode.InnerText.ToLower().Contains("html") || doc.DocumentNode.InnerText.ToLower().Contains("url") || doc.DocumentNode.InnerText.IsEmpty())
|
|
|
doc = CommonHelper.GetHtmlHtmlDocument(new HtmlParameterDTO { Url = url, Timeout = 10 * 1000 });
|
|
|
if (doc.DocumentNode.InnerHtml != ConfigurationManager.AppSettings["Termination"])
|
|
|
{
|