Private GIT

Skip to content
Snippets Groups Projects
Commit ad5a949d authored by Garfield69's avatar Garfield69
Browse files

cpabien: domain change fix #2231

switch to www.cpabien.cx
amend a couple css selectors
drop redundant size processing
tested with Jackett Dashboard and Sonarr
parent 6901b128
No related branches found
No related tags found
1 merge request!1test
...@@ -6,12 +6,13 @@ ...@@ -6,12 +6,13 @@
type: public type: public
encoding: UTF-8 encoding: UTF-8
links: links:
- http://cpabien.club/ - http://www.cpabien.cx/
legacylinks: legacylinks:
- http://cpabien.org/ - http://cpabien.org/
- http://cpabien.cc/ - http://cpabien.cc/
- http://cpabien.co/ - http://cpabien.co/
- http://cpabien.la/ - http://cpabien.la/
- http://cpabien.club/
caps: caps:
categorymappings: categorymappings:
...@@ -25,13 +26,14 @@ ...@@ -25,13 +26,14 @@
settings: [] settings: []
download: download:
selector: "#telecharger" selector: div.btn-download a
attribute: href
search: search:
paths: paths:
- path: "/search.php?t={{ .Query.Keywords }}" - path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{else}}derniers/{{end}}"
rows: rows:
selector: div[class^='ligne'] selector: table.table-corps tbody tr td
fields: fields:
site_date: site_date:
selector: a selector: a
...@@ -60,25 +62,6 @@ ...@@ -60,25 +62,6 @@
attribute: href attribute: href
size: size:
selector: div.poid selector: div.poid
filters:
- name: re_replace
args: [ "\\.(\\d) Ko", "$1X00"]
- name: re_replace
args: [ " Ko", "000"]
- name: re_replace
args: [ "\\.(\\d) Mo", "$1X00000"]
- name: re_replace
args: [ " Mo", "000000"]
- name: re_replace
args: [ "\\.(\\d) Go", "$1X00000000"]
- name: re_replace
args: [ " Go", "000000000"]
- name: re_replace
args: [ "\\.(\\d) To", "$1X00000000000"]
- name: re_replace
args: [ " To", "000000000000"]
- name: replace
args: [ "X", "" ]
date: date:
text: "now" text: "now"
seeders: seeders:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment