Skip to content

Commit

Permalink
fixed game count
Browse files Browse the repository at this point in the history
  • Loading branch information
poma committed Jun 15, 2016
1 parent a9bf79e commit e8f1d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StatsFetcher/FileProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public static void ExtractBasicData(Game game)
if (p.HotsLogsProfile == null)
continue;
try {
p.GamesCount = int.Parse(p.HotsLogsProfile.GetElementbyId("MainContent_tdTotalGamesPlayed").InnerText);
p.GamesCount = int.Parse(p.HotsLogsProfile.GetElementbyId("ctl00_MainContent_RadGridGeneralInformation").SelectSingleNode(".//td[text()='Total Games Played']/../td[2]").InnerText);
}
catch (Exception e) { /* some dirty exception swallow */ }
}
Expand Down

0 comments on commit e8f1d43

Please sign in to comment.