mirror of https://github.com/Jackett/Jackett
beitai, hdtime, pt99: fix imdbid search
these sites do not find imdbid if using the imdburl option. but they do work if looking in the description.
This commit is contained in:
parent
3cca3b2e38
commit
90fb780560
|
@ -71,8 +71,8 @@
|
||||||
incldead: 0
|
incldead: 0
|
||||||
# 0 all 1 normal 2 free 3 2x 4 2xfree 5 50% 6 2x50% 7 30%
|
# 0 all 1 normal 2 free 3 2x 4 2xfree 5 50% 6 2x50% 7 30%
|
||||||
spstate: 0
|
spstate: 0
|
||||||
# 0 title 1 descr 3 uploaded 4 imdburl
|
# 0 title 1 descr 3 uploaded 4 imdburl (searching imdburl does not work with tt1234567, but descr is good)
|
||||||
search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
|
search_area: "{{ if .Query.IMDBID }}1{{else}}0{{end}}"
|
||||||
# 0 AND 1 OR 2 exact
|
# 0 AND 1 OR 2 exact
|
||||||
search_mode: 0
|
search_mode: 0
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
incldead: 0
|
incldead: 0
|
||||||
# 0 all 1 normal 2 free 3 2x 4 2xfree 5 50% 6 2x50% 7 30%
|
# 0 all 1 normal 2 free 3 2x 4 2xfree 5 50% 6 2x50% 7 30%
|
||||||
spstate: 0
|
spstate: 0
|
||||||
# 0 title 1 descr 3 uploaded 4 imdburl
|
# 0 title 1 descr 3 uploaded 4 imdburl (searching imdburl does not work with tt1234567, but descr is good)
|
||||||
search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
|
search_area: "{{ if .Query.IMDBID }}1{{else}}0{{end}}"
|
||||||
# 0 AND 1 OR 2 exact
|
# 0 AND 1 OR 2 exact
|
||||||
search_mode: 0
|
search_mode: 0
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
|
|
|
@ -85,8 +85,8 @@
|
||||||
# 0 all 1 bookmrk 2 not
|
# 0 all 1 bookmrk 2 not
|
||||||
inclbookmarked: 0
|
inclbookmarked: 0
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
# 0 title 1 descr 3 uploader 4 imdb
|
# 0 title 1 descr 3 uploader 4 imdburl (searching imdburl does not work with tt1234567, but descr is good)
|
||||||
search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
|
search_area: "{{ if .Query.IMDBID }}1{{else}}0{{end}}"
|
||||||
# 0 AND 1 OR 2 exact
|
# 0 AND 1 OR 2 exact
|
||||||
search_mode: 0
|
search_mode: 0
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
|
|
Loading…
Reference in New Issue