public void LoadQuest() { OriginHtml = HttpHelper.Factory.Get("http://game.capcom.com/world/steam/hk/schedule.html").Result; _questDocument.LoadHtml(OriginHtml); var tableContainer = LoadQuestBaseNode(); var tables = tableContainer.SelectNodes("table"); foreach (HtmlNode table in tables) { var type = table.GetAttributeValue("table2", "table") == "table2" ? "活動任務" : "挑戰任務"; Quests.AddRange(table.SelectNodes("tbody/tr").Select(t => CreateQuest(t, type))); } //Quests = Quests.OrderBy(t => t.StartTime).ToList(); }