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:
categories:
tv: TV
movies: Movies
other: Other
modes:
@ -29,7 +31,15 @@ caps:
tv-search: [q, season, ep]
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:
selector: a#magnetOpen
@ -42,7 +52,7 @@ search:
selector: div.row:has(a[href*="/detail/hash/"])
fields:
category:
text: other
text: "{{ .Config.category-id }}"
title:
selector: a[href*="/detail/hash/"]
attribute: title