mirror of
https://github.com/Jackett/Jackett
synced 2025-01-05 06:59:02 +00:00
Updated Definition format (markdown)
parent
a0eaca944b
commit
458834b690
1 changed files with 10 additions and 16 deletions
|
@ -271,7 +271,7 @@ Example of a complex search block explaining all available options:
|
||||||
followredirect: false
|
followredirect: false
|
||||||
categorymappings: ["!", 901, 902] # optional list of tracker categories
|
categorymappings: ["!", 901, 902] # optional list of tracker categories
|
||||||
# If specified the path will be only used if at
|
# If specified the path will be only used if at
|
||||||
# least on category from the list is included in
|
# least one category from the list is included in
|
||||||
# the search categories list.
|
# the search categories list.
|
||||||
# A "!" as first entry negates the matching
|
# A "!" as first entry negates the matching
|
||||||
# logic (include the path in any other than
|
# logic (include the path in any other than
|
||||||
|
@ -280,30 +280,24 @@ Example of a complex search block explaining all available options:
|
||||||
# [OPTIONAL] list of (extra) arguments which should be added for this path
|
# [OPTIONAL] list of (extra) arguments which should be added for this path
|
||||||
inputs:
|
inputs:
|
||||||
scene: 0
|
scene: 0
|
||||||
# [OPTIONAL] boolean option to disable input inheritance from
|
# [OPTIONAL] boolean option to disable input inheritance from the search level inputs list.
|
||||||
# the search level inputs list.
|
# If set to true the "inputs" from the search level list will be used as the base for the path specific inputs
|
||||||
# If set to true the "inputs" from the search level list will
|
|
||||||
# be used as the base for the path specific inputs
|
|
||||||
# Default is true
|
# Default is true
|
||||||
inheritinputs: true
|
inheritinputs: true
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
categorymappings: ["!", 901, 902] # don't use this path if we're only searching
|
categorymappings: ["!", 901, 902] # don't use this path if we're only searching for porn
|
||||||
# for porn
|
|
||||||
inputs:
|
inputs:
|
||||||
scene: 1
|
scene: 1
|
||||||
- path: xxx.php
|
- path: xxx.php
|
||||||
categorymappings: [901, 902] # only use it if we're searching for porn
|
categorymappings: [901, 902] # only use it if we're searching for porn
|
||||||
# list of HTTP arguments which are used by all paths
|
# list of HTTP arguments which are used by all paths
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}category[]={{.}}&{{end}}" # Generate the category[]
|
# Generate the category[] arguments list
|
||||||
# arguments list
|
# The $raw input is special, the result will be included in the HTTP arguments list
|
||||||
# The $raw input is special,
|
# without further escaping (only variables are escaped).
|
||||||
# the result will be included
|
$raw: "{{ range .Categories }}category[]={{.}}&{{end}}"
|
||||||
# in the HTTP arguments list
|
# If an IMDB ID has been specified use it. Otherwise use the search keywords.
|
||||||
# without further escaping
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
# (only variables are escaped).
|
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" # If
|
|
||||||
# an IMDB ID has been specified use it. Otherwise use the search keywords.
|
|
||||||
imdb_search: "{{ if .Query.IMDBID }}yes{{else}}{{end}}"
|
imdb_search: "{{ if .Query.IMDBID }}yes{{else}}{{end}}"
|
||||||
searchin: title
|
searchin: title
|
||||||
incldead: 1
|
incldead: 1
|
||||||
|
|
Loading…
Reference in a new issue