mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
cpabien: season pack support. #9712
optional cat config support for torznab app compatibility
This commit is contained in:
@@ -42,8 +42,10 @@ legacylinks:
|
|||||||
- https://wvw.cpasbien-fr.fr/
|
- https://wvw.cpasbien-fr.fr/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categories:
|
||||||
- {id: other, cat: Other, desc: "Movies/TV/Other"}
|
1: TV
|
||||||
|
2: Movies
|
||||||
|
3: Other
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
@@ -66,10 +68,14 @@ settings:
|
|||||||
type: info
|
type: info
|
||||||
label: How to get the User-Agent
|
label: How to get the User-Agent
|
||||||
default: "<ol><li>From the same place you fetched the cookie,<li>Find <b>'user-agent:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole user-agent string <i>(everything after 'user-agent: ')</i> and <b>Paste</b> here.</ol>"
|
default: "<ol><li>From the same place you fetched the cookie,<li>Find <b>'user-agent:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole user-agent string <i>(everything after 'user-agent: ')</i> and <b>Paste</b> here.</ol>"
|
||||||
- name: info_categories
|
- name: category-id
|
||||||
type: info
|
type: select
|
||||||
label: "About categories"
|
label: The cpabien web site does not provide categories. Select the category you want Jackett to set on all results returned.
|
||||||
default: "cpasbien 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>."
|
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
|
||||||
@@ -102,18 +108,24 @@ download:
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}index.php?do=search&subaction=search{{else}}{{end}}"
|
- path: "{{ if .Keywords }}index.php?do=search&subaction=search{{ else }}{{ end }}"
|
||||||
method: post
|
method: post
|
||||||
inputs:
|
inputs:
|
||||||
story: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{end}}"
|
story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ end }}"
|
||||||
# does not support imdbid search and does not return imdb link in results.
|
# does not support imdbid search and does not return imdb link in results.
|
||||||
|
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: div#gauche > table > tbody > tr:has(a)
|
selector: div#gauche > table > tbody > tr:has(a)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
text: other
|
text: "{{ .Config.category-id }}"
|
||||||
site_date:
|
site_date:
|
||||||
selector: a
|
selector: a
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user