btsow: optional cat config support for torznab app compatibility

This commit is contained in:
Garfield69 2020-10-24 08:33:35 +13:00
parent 0f903f3700
commit 3e0a9735d1
1 changed files with 12 additions and 2 deletions

View File

@ -22,6 +22,8 @@ legacylinks:
caps: caps:
categories: categories:
tv: TV
movies: Movies
other: Other other: Other
modes: modes:
@ -29,7 +31,15 @@ caps:
tv-search: [q, season, ep] tv-search: [q, season, ep]
movie-search: [q] movie-search: [q]
settings: [] settings:
- name: category-id
type: select
label: The BTSOW web site does not provide categories. Select the category you want Jackett to set on all results returned.
default: other
options:
tv: TV
movies: Movies
other: Other
download: download:
selector: a#magnetOpen selector: a#magnetOpen
@ -42,7 +52,7 @@ search:
selector: div.row:has(a[href*="/detail/hash/"]) selector: div.row:has(a[href*="/detail/hash/"])
fields: fields:
category: category:
text: other text: "{{ .Config.category-id }}"
title: title:
selector: a[href*="/detail/hash/"] selector: a[href*="/detail/hash/"]
attribute: title attribute: title