Updated Definition format (markdown)

garfield69 2022-07-24 21:30:43 +12:00
parent 48c2d28523
commit da13c6f9c2
1 changed files with 18 additions and 11 deletions

@ -125,7 +125,8 @@ caps:
# Implementation note: Jackett doesn't care very much about this, but you should still
# specify the correct modes, as most apps calling Jackett via the Torznab API depend on them.
# The q attribute is the absolute minimum default, and you should only add the others if the
# tracker supports searching with them, especially imdbid, tvdbid, tmdbid, rid (TVRage), tvmaze, traktid, doubanid and genre.
# tracker supports searching with them, especially
# imdbid, tvdbid, tmdbid, rid (TVRage), tvmaze, traktid, doubanid and genre.
modes:
search: [q]
tv-search: [q, season, ep, imdbid, tvdbid, rid, tvmaze, traktid, doubanid]
@ -561,6 +562,15 @@ search:
# then a default of "1" is preferred).
leechers:
selector: td:nth-child(10)
# [OPTIONAL] genre. A list of one or more genre categories.
# You should aim to load genre with a comma delimited list, for example: "Action, Drama, Thriller"
# and use filters to massage the list into the requisite layout if required.
# If the selector does not match it is ignored.
genre:
selector: div i
filters:
- name: regexp
args: "\\((.+?)\\)"
# [OPTIONAL] Factor for the download volume. In most cases it should be set to "1"
# Set to "0" if a torrent is freeleech, "0.5" if only 50% is counted, "0.75" if only 75% is counted.
# if a site states that the download is 75% free then the DLVF is 0.25 (only 25% is counted).
@ -586,15 +596,6 @@ search:
minimumseedtime:
# 1 day (as seconds = 24 x 60 x 60)
text: 86400
# [OPTIONAL] genre
# You should aim to load genre with a comma delimited list, for example: "Action, Drama, Thriller"
# and use filters to massage the list into the requisite layout if required.
# If the selector does not match it is ignored.
genre:
selector: div i
filters:
- name: regexp
args: "\\((.+?)\\)"
# [OPTIONAL] description (any other available/relevant information)
# This will show up (on the Jackett dashboard search page) as info on a tooltip when you hover over the title
# If the selector does not match it is ignored.
@ -806,9 +807,15 @@ search:
# then a default of "1" is preferred).
leechers:
selector: peers
# [OPTIONAL] genre. A list of one or more genre categories.
# You should aim to load genre with a comma delimited list, for example: "Action, Drama, Thriller"
# and use filters to massage the list into the requisite layout if required.
# If the selector does not match it is ignored.
genre:
selector: genres
# [OPTIONAL] Factor for the download volume. In most cases it should be set to "1"
# Set to "0" if a torrent is freeleech, "0.5" if only 50% is counted, "0.75" if only 75% is counted.
# if a site states that the download is 75% free then the DLVF is 0.25 (only 25% is counted).
# if a site states that the download is 75% free then the DLVF is 0.25 (only 25% is counted).
downloadvolumefactor:
selector: freeleech
# in this example the freeleech provided by the API is 0=false, 1=true