1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-03 05:36:44 +00:00

Updated Definition format (markdown)

garfield69 2021-10-21 16:10:08 +13:00
parent aad61bbd00
commit 0fc565cf5d

@ -603,6 +603,7 @@ search:
rows: rows:
# [REQUIRED] This is the where you define how to find the row sets that contain the torrent fields # [REQUIRED] This is the where you define how to find the row sets that contain the torrent fields
# You can use the $ symbol to refer to the root object.
selector: data.movies selector: data.movies
# [OPTIONAL] If the response contains a field that indicates the number of hits returned, # [OPTIONAL] If the response contains a field that indicates the number of hits returned,
# then you define that field in the count block selector, so that if the response had a # then you define that field in the count block selector, so that if the response had a
@ -610,7 +611,7 @@ search:
# If the response uses an empty set [] to signify a no results found state, then don't use the count block. # If the response uses an empty set [] to signify a no results found state, then don't use the count block.
count: count:
# [REQUIRED] IF you have defined the Count block then you need to provide the field that has the count. # [REQUIRED] IF you have defined the Count block then you need to provide the field that has the count.
# You can use the $ symbol to refer to the root object, for example: $[0].found_total # You can use the $ symbol to refer to a root object field, for example: $[0].id
selector: data.movie_count selector: data.movie_count
# [REQUIRED] list of attributes which are extracted for each row # [REQUIRED] list of attributes which are extracted for each row