Fixed: Importing from IMDb list

This commit is contained in:
Mark McDowall 2024-06-12 16:06:31 -07:00 committed by Mark McDowall
parent 7fccf590a8
commit f8e81396d4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ namespace NzbDrone.Core.ImportLists.Imdb
// Parse TSV response from IMDB export
var rows = importResponse.Content.Split(new char[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);
series = rows.Skip(1).SelectList(m => m.Split(',')).Where(m => m.Length > 1).SelectList(i => new ImportListItemInfo { ImdbId = i[1] });
series = rows.Skip(1).SelectList(m => m.Split(',')).Where(m => m.Length > 5).SelectList(i => new ImportListItemInfo { ImdbId = i[1], Title = i[5] });
return series;
}