mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-08 12:43:19 +02:00
Fixed: (Cardigann) Skip rows parsing on zero rows
This commit is contained in:
parent
a184bb0784
commit
8e60c707b2
1 changed files with 5 additions and 0 deletions
|
|
@ -101,6 +101,11 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
throw new IndexerException(indexerResponse, "Error Parsing Rows Selector");
|
||||
}
|
||||
|
||||
if (rowsArray.Count == 0)
|
||||
{
|
||||
return releases;
|
||||
}
|
||||
|
||||
foreach (var row in rowsArray)
|
||||
{
|
||||
var selObj = search.Rows.Attribute != null ? row.SelectToken(search.Rows.Attribute).Value<JToken>() : row;
|
||||
|
|
|
|||
Loading…
Reference in a new issue