mirror of
https://github.com/Jackett/Jackett
synced 2025-03-06 19:58:38 +00:00
torrent4you: optional cat config support for torznab app compatibility
This commit is contained in:
parent
99fe32bec6
commit
be376640b9
1 changed files with 18 additions and 11 deletions
|
@ -12,7 +12,9 @@ legacylinks:
|
|||
|
||||
caps:
|
||||
categories:
|
||||
1: Other
|
||||
1: TV
|
||||
2: Movies
|
||||
3: Other
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
@ -20,18 +22,23 @@ caps:
|
|||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: info
|
||||
type: info
|
||||
default: Torrent4You does not use categories. In your software Indexer settings, set the category to 7000.
|
||||
- name: category-id
|
||||
type: select
|
||||
label: The Torrent4You 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: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: "created"
|
||||
default: created
|
||||
options:
|
||||
"created": "created"
|
||||
"seed": "seeders"
|
||||
"size": "size"
|
||||
"title": "name"
|
||||
created: created
|
||||
seed: seeders
|
||||
size: size
|
||||
title: name
|
||||
|
||||
download:
|
||||
selector: form[action^="../torrents/"]
|
||||
|
@ -39,14 +46,14 @@ download:
|
|||
|
||||
search:
|
||||
paths:
|
||||
- path: "{{ if .Keywords }}search.php?s={{ .Keywords }}&sort={{ .Config.sort }}{{else}}browse.php?sort={{ .Config.sort }}{{end}}"
|
||||
- path: "{{ if .Keywords }}search.php?s={{ .Keywords }}&sort={{ .Config.sort }}{{ else }}browse.php?sort={{ .Config.sort }}{{ end }}"
|
||||
|
||||
rows:
|
||||
selector: table.tb4 > tbody > tr:has(form)
|
||||
|
||||
fields:
|
||||
category:
|
||||
text: 1
|
||||
text: "{{ .Config.category-id }}"
|
||||
title:
|
||||
selector: td:nth-child(1) a
|
||||
details:
|
||||
|
|
Loading…
Add table
Reference in a new issue