mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
hdtorrents: imdb can be missing. fix #7373
This commit is contained in:
@@ -211,8 +211,9 @@ namespace Jackett.Common.Indexers
|
||||
else
|
||||
release.DownloadVolumeFactor = 1;
|
||||
|
||||
var imdblink = row.QuerySelector("a[href*=\"www.imdb.com/title/\"]").GetAttribute("href");
|
||||
release.Imdb = ParseUtil.GetLongFromString(imdblink);
|
||||
var imdblink = row.QuerySelector("a[href*=\"www.imdb.com/title/\"]")?.GetAttribute("href");
|
||||
if (!string.IsNullOrWhiteSpace(imdblink))
|
||||
release.Imdb = ParseUtil.GetLongFromString(imdblink);
|
||||
|
||||
releases.Add(release);
|
||||
}
|
||||
|
Reference in New Issue
Block a user