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

View File

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

View File

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

View File

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

View File

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

View File

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