Avoid exception if the game doesn't exist in PCGamingWiki
This commit is contained in:
parent
460f40c2cd
commit
55ab125c80
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue