mirror of https://github.com/Jackett/Jackett
720pier: implement torznab Limit #4901
This commit is contained in:
parent
87c4f26d02
commit
cf03b6e216
|
@ -238,6 +238,8 @@ namespace Jackett.Common.Indexers
|
|||
OnParseError(results.Content, ex);
|
||||
}
|
||||
|
||||
if (query.Limit > 0)
|
||||
releases = releases.Take(query.Limit).ToList();
|
||||
return releases;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue