Skip to content

Commit

Permalink
brasiltracker: optional cat config support for torznab app compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Oct 21, 2020
1 parent e3b936c commit 5925daa
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions src/Jackett.Common/Definitions/brasiltracker.yml
Expand Up @@ -9,9 +9,10 @@ links:
- https://brasiltracker.org/

caps:
categorymappings:
# site does not have categories in results so we are unable to support cats for fitering or reporting
- {id: 1, cat: Other, desc: "Filmes/Series/Música"}
categories:
1: TV
2: Movies
3: Other

modes:
search: [q]
Expand All @@ -25,6 +26,14 @@ settings:
- name: password
type: password
label: Password
- name: category-id
type: select
label: The BrasilTracker web site does not provide categories. Select the category you want Jackett to set on all results returned.
default: 3
options:
1: TV
2: Movies
3: Other
- name: freeleech
type: checkbox
label: Search freeleech only
Expand All @@ -48,10 +57,6 @@ settings:
type: info
label: "Search results"
default: "This indexer does not support <b>Torrent Groups</b><br />Un-tick the <b>Torrent grouping</b><i> (Habilitar Grupo de Torrents)</i> checkbox in your <b>Configurações</b>."
- name: info_categories
type: info
label: "About categories"
default: "BrasilTracker does not show <b>Categories</b> in its Search Results.<br />To use this indexer with Sonarr/Radarr set your indexer category to <b>7000</b>."

login:
path: login.php
Expand Down Expand Up @@ -86,7 +91,7 @@ search:

fields:
category:
text: 1
text: "{{ .Config.category-id }}"
details:
selector: a[href^="torrents.php?id="]
attribute: href
Expand Down

0 comments on commit 5925daa

Please sign in to comment.