HDHome, HDSky, HyperRay, M-Team, NetHD, TorViet: enable imdb search

This commit is contained in:
kaso17 2017-02-13 16:45:25 +01:00
parent bb989c22c6
commit 9cbc908828
6 changed files with 24 additions and 18 deletions

View File

@ -22,7 +22,8 @@
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
login: login:
path: login.php path: login.php
@ -45,11 +46,11 @@
method: post method: post
inputs: inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}" $raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{if .Query.IMDBID}}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
incldead: "1" incldead: "1"
spstate: "0" spstate: "0"
inclbookmarked: "0" inclbookmarked: "0"
search_area: "0" search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
search_mode: "0" search_mode: "0"
rows: rows:
selector: table.torrents > tbody > tr:has(table.torrentname) selector: table.torrents > tbody > tr:has(table.torrentname)

View File

@ -23,7 +23,8 @@
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
login: login:
path: login.php path: login.php
@ -56,11 +57,11 @@
method: post method: post
inputs: inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}" $raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{if .Query.IMDBID}}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
incldead: "1" incldead: "1"
spstate: "0" spstate: "0"
inclbookmarked: "0" inclbookmarked: "0"
search_area: "0" search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
search_mode: "0" search_mode: "0"
rows: rows:
selector: table.torrents > tbody > tr:has(table.torrentname) selector: table.torrents > tbody > tr:has(table.torrentname)

View File

@ -30,7 +30,8 @@
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
login: login:
path: takelogin.php path: takelogin.php
@ -48,11 +49,11 @@
method: post method: post
inputs: inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}" $raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{if .Query.IMDBID}}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
incldead: "1" incldead: "1"
spstate: "0" spstate: "0"
inclbookmarked: "0" inclbookmarked: "0"
search_area: "0" search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
search_mode: "0" search_mode: "0"
rows: rows:
selector: table.torrents > tbody > tr[class] selector: table.torrents > tbody > tr[class]

View File

@ -32,7 +32,8 @@
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
login: login:
path: takelogin.php path: takelogin.php
@ -57,11 +58,11 @@
method: post method: post
inputs: inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}" $raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{if .Query.IMDBID}}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
incldead: "1" incldead: "1"
spstate: "0" spstate: "0"
inclbookmarked: "0" inclbookmarked: "0"
search_area: "0" search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
search_mode: "0" search_mode: "0"
rows: rows:
selector: table.torrents > tbody > tr:has(table.torrentname) selector: table.torrents > tbody > tr:has(table.torrentname)

View File

@ -19,7 +19,8 @@
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
login: login:
path: /takelogin.php path: /takelogin.php
@ -40,8 +41,8 @@
method: post method: post
inputs: inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}" $raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{if .Query.IMDBID}}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
search_area: 0 search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
search_mode: 0 search_mode: 0
spstate: 0 spstate: 0
inclbookmarked: 0 inclbookmarked: 0

View File

@ -44,7 +44,8 @@
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
login: login:
path: /takelogin.php path: /takelogin.php
@ -67,14 +68,14 @@
search: search:
path: /torrents.php path: /torrents.php
inputs: inputs:
search: "{{ .Query.Keywords }}" search: "{{if .Query.IMDBID}}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
sltCategory: 0 sltCategory: 0
sltSubCategory: 0 # can't sepcify multiple categorys so we're useing all always sltSubCategory: 0 # can't sepcify multiple categorys so we're useing all always
sltGenre: 0 sltGenre: 0
incldead: 1 incldead: 1
spstate: 0 spstate: 0
inclbookmarked: 0 inclbookmarked: 0
search_area: 0 search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
search_mode: 0 search_mode: 0
rows: rows: