mirror of https://github.com/Jackett/Jackett
Updated Definition format (markdown)
parent
1a00f806a8
commit
ef8300e6f4
|
@ -125,10 +125,10 @@ 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), traktid, and doubanid.
|
||||
# the tracker supports searching with them, especially imdbid, tvdbid, tmdbid, rid (TVRage), tvmaze, traktid, and doubanid.
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep, imdbid, tvdbid, rid, traktid]
|
||||
tv-search: [q, season, ep, imdbid, tvdbid, rid, tvmaze, traktid]
|
||||
movie-search: [q, imdbid, tmdbid, traktid, doubanid]
|
||||
music-search: [q, album, artist, label, year]
|
||||
book-search: [q, author, title]
|
||||
|
@ -507,6 +507,11 @@ search:
|
|||
tmdbid:
|
||||
selector: a[href*="themoviedb.org/movie/"], a[href*="themoviedb.org/tv/"]
|
||||
attribute: href
|
||||
# [OPTIONAL] id for tvmaze.com if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
tvmazeid:
|
||||
selector: a[href*="tvmaze.com/shows/"]
|
||||
attribute: href
|
||||
# [OPTIONAL] id for thetvdb.com if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
tvdbid:
|
||||
|
@ -515,7 +520,7 @@ search:
|
|||
# [OPTIONAL] id for trakt.tv if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
traktid:
|
||||
selector: a[href*="trakt.tv/"]
|
||||
selector: a[href*="trakt.tv/movies/"], a[href*="trakt.tv/shows/"]
|
||||
attribute: href
|
||||
# [OPTIONAL] id for movie.douban.com if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
|
@ -745,6 +750,10 @@ search:
|
|||
# If the selector does not match it is ignored.
|
||||
imdbid:
|
||||
selector: ..imdb_id
|
||||
# [OPTIONAL] id for tvrage.com if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
rageid:
|
||||
selector: ..rage_id
|
||||
# [OPTIONAL] id for themoviedb.org if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
tmdbid:
|
||||
|
@ -753,10 +762,18 @@ search:
|
|||
# If the selector does not match it is ignored.
|
||||
tvdbid:
|
||||
selector: ..tvdb_id
|
||||
# [OPTIONAL] id for tvrage.com if a link is returned then the number is extracted automatically
|
||||
# [OPTIONAL] id for tvmaze.com if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
rageid:
|
||||
selector: ..rage_id
|
||||
tvmazeid:
|
||||
selector: ..tvmaze_id
|
||||
# [OPTIONAL] id for trakt.tv if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
traktid:
|
||||
selector: ..trakt_id
|
||||
# [OPTIONAL] id for movie.douban.com if a link is returned then the number is extracted automatically
|
||||
# If the selector does not match it is ignored.
|
||||
doubanid:
|
||||
selector: ..douban_id
|
||||
# [OPTIONAL] publish date (if the site does not provide a date for all results, then "now" is preferred)
|
||||
date:
|
||||
selector: ..date_uploaded_unix
|
||||
|
@ -1130,7 +1147,7 @@ Generated based on the settings section
|
|||
.Query.IMDBID # e.g. tt12345678
|
||||
.Query.IMDBIDShort # e.g. 12345678
|
||||
.Query.TMDBID
|
||||
.Query.TVMazeID # not supported (Cardigann compatibility)
|
||||
.Query.TVMazeID
|
||||
.Query.TraktID
|
||||
.Query.DoubanID
|
||||
.Query.Album
|
||||
|
|
Loading…
Reference in New Issue