Skip to content

Commit

Permalink
btsow: 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 23, 2020
1 parent 0f903f3 commit 3e0a973
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/Jackett.Common/Definitions/btsow.yml
Expand Up @@ -22,14 +22,24 @@ legacylinks:

caps:
categories:
tv: TV
movies: Movies
other: Other

modes:
search: [q]
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
Expand All @@ -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
Expand Down

0 comments on commit 3e0a973

Please sign in to comment.