mirror of
https://github.com/Jackett/Jackett
synced 2025-03-12 07:04:22 +00:00
hdai: add douban query support
This commit is contained in:
parent
8bd6b9184b
commit
5aba9b3614
1 changed files with 3 additions and 3 deletions
|
@ -28,8 +28,8 @@ caps:
|
|||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep, imdbid]
|
||||
movie-search: [q, imdbid]
|
||||
tv-search: [q, season, ep, imdbid, doubanid]
|
||||
movie-search: [q, imdbid, doubanid]
|
||||
music-search: [q]
|
||||
|
||||
settings:
|
||||
|
@ -93,7 +93,7 @@ search:
|
|||
args: ["[\\s]+", "%"]
|
||||
|
||||
inputs:
|
||||
searchParams: "{\"sp_state\":\"{{ if .Config.freeleech }}2{{ else }}{{ end }}\",\"keyword\":\"{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}\",\"keyword_area\":\"{{ if .Query.IMDBID }}4{{ else }}1{{ end }}\"}"
|
||||
searchParams: "{\"sp_state\":\"{{ if .Config.freeleech }}2{{ else }}{{ end }}\",\"keyword\":\"{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if .Query.DoubanID }}/{{ .Query.DoubanID }}/{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }}{{ else }}{{ .Keywords }}{{ end }}\",\"keyword_area\":\"{{ if .Query.IMDBID }}9{{ else }}{{ end }}{{ if .Query.DoubanID }}10{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }}{{ else }}1{{ end }}\"}"
|
||||
page: 1
|
||||
limit: 100
|
||||
field: "{{ .Config.sort }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue