Avoid exception if the game doesn't exist in PCGamingWiki

pull/19/head
Pat Hartl 2023-03-17 02:06:16 -05:00
parent 460f40c2cd
commit 55ab125c80
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ namespace LANCommander.PCGamingWiki
{
var results = new Dictionary<string, int>();
if (url == null)
return results;
HtmlWeb web = new HtmlWeb();
HtmlDocument dom = web.Load(url);