mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
btsow: optional cat config support for torznab app compatibility
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user