//http://www.hltv.org/legacy/match/2292334-global-vexx-cevo-professional-season-5 private void ParseDetailsLegacy(string url) { Doc.LoadHtml(GetStringFromUrl(url)); MatchInfo match = new MatchInfo(); match.Url = url; SetDateLegacy(match); SetMapAndScoreLegacy(match); SetTeamNamesLegacy(match); Matches.Add(match); PrintOutput(match.Print(), 1); }
private void ParseDetails() { foreach (string url in DetailsUrls) { if (url == "http://www.hltv.org/match/") { continue; } if (url == "http://www.hltv.org/match/2292334-global-vexx-cevo-professional-season-5") { //ParseDetailsLegacy(url); break; } Doc.LoadHtml(GetStringFromUrl(url)); MatchInfo match = new MatchInfo(); match.Url = url; SetDate(match); SetMapAndScore(match); SetTeamNames(match); Matches.Add(match); PrintOutput(match.Print(), 1); } }