protected void FetchHtml() { UseHtml = true; if (custom) { htmlDoc = GameList.FetchHtmlGameList(customUrl); } else { htmlDoc = GameList.FetchHtmlGameList(SteamId); } }
private bool UpdateGameList_Web_Html(Profile profile) { try { string doc = GameList.FetchHtmlGameList(profile.SteamID64); int newApps; profile.GameData.IntegrateHtmlGameList(doc, false, profile.IgnoreList, profile.IncludeUnknown ? AppTypes.InclusionUnknown : AppTypes.InclusionNormal, out newApps); return(true); } catch (Exception e) { Program.Logger.WriteException("Automatic mode: Error on HTML web profile update.", e); return(false); } }
private static bool UpdateGameList_Web_Html(Profile profile) { try { string doc = GameList.FetchHtmlGameList(profile.SteamID64); profile.GameData.IntegrateHtmlGameList(doc, false, profile.IgnoreList, out int newApps); return(true); } catch (Exception e) { Logger.Exception("Automatic mode: Error on HTML web profile update.", e); return(false); } }
protected void FetchHtml() { UseHtml = true; htmlDoc = custom ? GameList.FetchHtmlGameList(customUrl) : GameList.FetchHtmlGameList(SteamId); }
protected void FetchHtml() { UseHtml = true; _htmlDoc = _custom ? GameList.FetchHtmlGameList(_customUrl) : GameList.FetchHtmlGameList(_steamId); }