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
This commit is contained in:
Garfield69 2017-12-05 10:56:34 +13:00
parent 6901b128d0
commit ad5a949d60
1 changed files with 6 additions and 23 deletions

View File

@ -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 @@
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 @@
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: