Fixed: (FileList) Parsing poorly padded IMDb Ids

pull/2147/head
Bogdan 6 months ago
parent f5790bec2e
commit 4c4b16d234

@ -61,7 +61,7 @@ public class FileListParser : IParseIndexerResponse
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;

Loading…
Cancel
Save