rarbg: implement torznab Limit #4901

This commit is contained in:
Garfield69 2019-03-23 09:46:58 +13:00
parent 022b88ea22
commit 87c4f26d02
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,8 @@ namespace Jackett.Common.Indexers
OnParseError(response.Content, ex);
}
if (query.Limit > 0)
releases = releases.Take(query.Limit).ToList();
return releases;
}