mirror of
https://github.com/Jackett/Jackett
synced 2025-03-08 21:06:25 +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:
|
caps:
|
||||||
categories:
|
categories:
|
||||||
1: Other
|
1: TV
|
||||||
|
2: Movies
|
||||||
|
3: Other
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -20,18 +22,23 @@ caps:
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: info
|
- name: category-id
|
||||||
type: info
|
type: select
|
||||||
default: Torrent4You does not use categories. In your software Indexer settings, set the category to 7000.
|
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
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
default: "created"
|
default: created
|
||||||
options:
|
options:
|
||||||
"created": "created"
|
created: created
|
||||||
"seed": "seeders"
|
seed: seeders
|
||||||
"size": "size"
|
size: size
|
||||||
"title": "name"
|
title: name
|
||||||
|
|
||||||
download:
|
download:
|
||||||
selector: form[action^="../torrents/"]
|
selector: form[action^="../torrents/"]
|
||||||
|
@ -39,14 +46,14 @@ download:
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
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:
|
rows:
|
||||||
selector: table.tb4 > tbody > tr:has(form)
|
selector: table.tb4 > tbody > tr:has(form)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
text: 1
|
text: "{{ .Config.category-id }}"
|
||||||
title:
|
title:
|
||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
details:
|
details:
|
||||||
|
|
Loading…
Add table
Reference in a new issue