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/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: other, cat: Other, desc: "Movies/TV/Other"}
|
||||
categories:
|
||||
1: TV
|
||||
2: Movies
|
||||
3: Other
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
@@ -66,10 +68,14 @@ settings:
|
||||
type: info
|
||||
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>"
|
||||
- name: info_categories
|
||||
type: info
|
||||
label: "About categories"
|
||||
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>."
|
||||
- name: category-id
|
||||
type: select
|
||||
label: The cpabien 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
|
||||
type: checkbox
|
||||
label: Replace MULTI by another language in release name
|
||||
@@ -102,18 +108,24 @@ download:
|
||||
|
||||
search:
|
||||
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
|
||||
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.
|
||||
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:
|
||||
selector: div#gauche > table > tbody > tr:has(a)
|
||||
|
||||
fields:
|
||||
category:
|
||||
text: other
|
||||
text: "{{ .Config.category-id }}"
|
||||
site_date:
|
||||
selector: a
|
||||
filters:
|
||||
|
Reference in New Issue
Block a user