mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
zetorrents: season pack support. #9712
optional cat config support for torznab app compatibility
This commit is contained in:
@@ -14,7 +14,9 @@ legacylinks:
|
|||||||
|
|
||||||
caps:
|
caps:
|
||||||
categories:
|
categories:
|
||||||
1: Other
|
1: TV
|
||||||
|
2: Movies
|
||||||
|
3: Other
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
@@ -22,9 +24,14 @@ caps:
|
|||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: info
|
- name: category-id
|
||||||
type: info
|
type: select
|
||||||
default: zetorrents does not use categories. In your software Indexer settings, set the category to 7000.
|
label: The zetorrents 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: multilang
|
- name: multilang
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Replace MULTI by another language in release name
|
label: Replace MULTI by another language in release name
|
||||||
@@ -51,14 +58,20 @@ download:
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{else}}{{end}}"
|
- path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{ else }}{{ end }}"
|
||||||
|
keywordsfilters:
|
||||||
|
# if searching for season packs swith S01 to saison 1 #9712
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)(S0)(\\d{1,2})$", "saison $2"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)(S)(\\d{1,3})$", "saison $2"]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.table > tbody > tr:has(a[href^="/torrent/"])
|
selector: table.table > tbody > tr:has(a[href^="/torrent/"])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
text: 1
|
text: "{{ .Config.category-id }}"
|
||||||
site_date:
|
site_date:
|
||||||
selector: a[href^="/torrent/"]
|
selector: a[href^="/torrent/"]
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user