mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-31 18:20:09 +01:00
Fixed: (FileList) Parsing poorly padded IMDb Ids
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user