Fix parsing imdb ids for native indexers

This commit is contained in:
Bogdan
2024-08-03 13:06:27 +03:00
parent cca55fd66c
commit 6549f799f6
4 changed files with 7 additions and 8 deletions
@@ -387,7 +387,7 @@ public class MTeamTpParser : IParseIndexerResponse
if (torrent.Imdb.IsNotNullOrWhiteSpace())
{
release.ImdbId = ParseUtil.GetImdbId(torrent.Imdb.Split('/').LastOrDefault()).GetValueOrDefault();
release.ImdbId = ParseUtil.GetImdbId(torrent.Imdb.TrimEnd('/').Split('/').LastOrDefault()).GetValueOrDefault();
}
if (torrent.Status?.CreatedDate != null &&