mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrentdb: add genre results
This commit is contained in:
@@ -76,12 +76,13 @@ search:
|
|||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}freeleech=1&{{ else }}{{ end }}"
|
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}freeleech=1&{{ else }}{{ end }}"
|
||||||
# note: dashboard only supports imdbid (tt12345678). Since tvdbid and tmdbid are just numbers the dashboard sends them as keywords
|
# note: dashboard only supports imdbid (tt12345678). Since tvdbid and tmdbid are just numbers the dashboard sends them as keywords
|
||||||
# which will fail title matching because we need the andmatch to filter the web sites title missmatches (it searches in descriptions too)
|
# which will fail title matching because we need the andmatch to filter the web sites title mismatches (it searches in descriptions too)
|
||||||
search: "{{ if or .Query.IMDBID .Query.TVDBID .Query.TMDBID }}{{ or .Query.IMDBIDShort .Query.TVDBID .Query.TMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ if or .Query.IMDBID .Query.TVDBID .Query.TMDBID }}{{ or .Query.IMDBIDShort .Query.TVDBID .Query.TMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
tags: ""
|
tags: ""
|
||||||
sorting: "{{ .Config.sort }}"
|
sorting: "{{ .Config.sort }}"
|
||||||
direction: "{{ .Config.type }}"
|
direction: "{{ .Config.type }}"
|
||||||
qty: 100
|
qty: 100
|
||||||
|
# the tags search in combo with search keywords does not yield expected results.
|
||||||
|
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
@@ -107,6 +108,13 @@ search:
|
|||||||
download:
|
download:
|
||||||
selector: a[href*="/download/"]
|
selector: a[href*="/download/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
genre:
|
||||||
|
selector: td:nth-child(2)
|
||||||
|
filters:
|
||||||
|
- name: validate
|
||||||
|
args: "Action, Adventure, Animation, Biography, Comedy, Crime, Documentary, Drama, Family, Fantasy, Game-Show, History, Horror, Music, Musical, Mystery, News, Reality-TV, Romance, Science Fiction, Sitcom, Sport, Talk-Show, Thriller, War, Western"
|
||||||
|
description:
|
||||||
|
text: "{{ .Result.genre }}"
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(2) small
|
selector: td:nth-child(2) small
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user