small fix

This commit is contained in:
Master Kwoth 2016-05-30 19:48:59 +02:00
parent 5dda8d263e
commit 9d2b828192

View File

@ -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);
}