mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
yts: implement torznab Limit #4901
This commit is contained in:
@@ -236,6 +236,8 @@ namespace Jackett.Common.Indexers
|
|||||||
OnParseError(response.Content, ex);
|
OnParseError(response.Content, ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (query.Limit > 0)
|
||||||
|
releases = releases.Take(query.Limit).ToList();
|
||||||
return releases;
|
return releases;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user