1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-22 15:39:20 +00:00

Updated Definition format (markdown)

garfield69 2022-02-09 18:48:10 +13:00
parent 694e7b4b5e
commit 7cd08e1b38

@ -609,10 +609,6 @@ search:
response:
# [REQUIRED] indicates that a JSON response is expected
type: json
# [OPTIONAL] If the torrents are in separate subset
attribute: torrents
# [OPTIONAL] If there are multiple torrents per title
multiple: true
# [OPTIONAL] In the event that a server responds to a query-not-found with a message instead of
# the more common empty json object or a Count set to 0, you can code the message here and prevent
# the "Exception (indexer): Object reference not set to an instance of an object." error and have
@ -629,6 +625,10 @@ search:
# [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
# [OPTIONAL] If the torrents are in separate subset
attribute: torrents
# [OPTIONAL] If there are multiple torrents per title
multiple: true
# [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
# count of 0 if would indicate a results not found condition.