small fix
This commit is contained in:
parent
5dda8d263e
commit
9d2b828192
@ -32,7 +32,7 @@ namespace NadekoBot.Modules.Searches.Commands.IMDB
|
|||||||
ImdbMovie mov = new ImdbMovie();
|
ImdbMovie mov = new ImdbMovie();
|
||||||
string imdbUrl = GetIMDbUrl(System.Uri.EscapeUriString(MovieName));
|
string imdbUrl = GetIMDbUrl(System.Uri.EscapeUriString(MovieName));
|
||||||
mov.Status = false;
|
mov.Status = false;
|
||||||
if (!string.IsNullOrEmpty(imdbUrl))
|
if (!string.IsNullOrWhiteSpace(imdbUrl))
|
||||||
{
|
{
|
||||||
ParseIMDbPage(imdbUrl, GetExtraInfo, mov);
|
ParseIMDbPage(imdbUrl, GetExtraInfo, mov);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user