Fixed: (FileList) Parsing poorly padded IMDb Ids

This commit is contained in:
Bogdan 2024-06-14 22:10:09 +03:00
parent f5790bec2e
commit 4c4b16d234

View file

@ -61,7 +61,7 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
var imdbId = 0;
if (row.ImdbId is { Length: > 2 })
{
imdbId = int.Parse(row.ImdbId.Substring(2));
int.TryParse(row.ImdbId.TrimStart('t'), out imdbId);
}
var downloadVolumeFactor = row.FreeLeech ? 0 : 1;