From 9d2b82819245d22ffb436450dd740b39f9cdf8bf Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Mon, 30 May 2016 19:48:59 +0200 Subject: [PATCH] small fix --- NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs b/NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs index ff7cc814..5226d2a4 100644 --- a/NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs +++ b/NadekoBot/Modules/Searches/Commands/IMDB/ImdbScraper.cs @@ -32,7 +32,7 @@ namespace NadekoBot.Modules.Searches.Commands.IMDB ImdbMovie mov = new ImdbMovie(); string imdbUrl = GetIMDbUrl(System.Uri.EscapeUriString(MovieName)); mov.Status = false; - if (!string.IsNullOrEmpty(imdbUrl)) + if (!string.IsNullOrWhiteSpace(imdbUrl)) { ParseIMDbPage(imdbUrl, GetExtraInfo, mov); }