torrentdownloads: add tv and movie torznab search

This commit is contained in:
Garfield69 2019-08-12 19:15:51 +12:00
parent 5fa6ab58e9
commit a07ff0752d
1 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,8 @@
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: downloadlink
@ -40,7 +42,7 @@
- path: "{{if .Keywords}}/search/{{else}}/today/{{end}}"
inputs:
$raw: "new=1&{{range .Categories}}s_cat={{.}}&{{end}}"
search: "{{ .Query.Keywords }}"
search: "{{ .Keywords }}"
rows:
selector: div.inner_container > div:has(p:has(a[href^="/torrent/"]))
fields: