THC: enable imdbid searching for #3866

This commit is contained in:
Garfield69 2019-02-19 20:01:08 +13:00
parent 0c667322d9
commit 13e1548d54
1 changed files with 4 additions and 5 deletions

View File

@ -15,7 +15,8 @@
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
settings: settings:
- name: username - name: username
@ -55,14 +56,12 @@
paths: paths:
- path: browse.php - path: browse.php
inputs: inputs:
#$raw: "{{range .Categories}}c{{.}}=1&{{end}}" search: "{{if .Query.IMDBID}}{{ .Query.IMDBIDShort }}{{else}}{{ .Keywords }}{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1 incldead: 1
cat: 0
rows: rows:
selector: p + table > tbody > tr:has(a[href^="download.php"]), p + table > tbody > tr:has(a[href^="download.php"]) + tr[id^="kdescr"] # sometimes an unexpected tr[id^="kdescr"] row shows up (for unpublished torrents?) selector: p + table > tbody > tr:has(a[href^="download.php"]), p + table > tbody > tr:has(a[href^="download.php"]) + tr[id^="kdescr"] # sometimes an unexpected tr[id^="kdescr"] row shows up (for unpublished torrents?)
filters:
- name: andmatch
after: 1 after: 1
fields: fields:
title: title: