lechaudron: new layout.

This commit is contained in:
Garfield69 2019-09-14 19:34:20 +12:00
parent d795251508
commit 0e906abdfd
1 changed files with 20 additions and 39 deletions

View File

@ -142,6 +142,9 @@
path: TTV3/Bienvenue path: TTV3/Bienvenue
selector: a[href$="/TTV3/Deconnexion"] selector: a[href$="/TTV3/Deconnexion"]
download:
selector: a[href*="/Telechargement/"]
search: search:
paths: paths:
# https://lechaudron.nl/TTV3/Torrents/Recherche?recherche=viva+maria&type=exacte&endroit=nomtorrent&langue=0&tl=peuimporte # https://lechaudron.nl/TTV3/Torrents/Recherche?recherche=viva+maria&type=exacte&endroit=nomtorrent&langue=0&tl=peuimporte
@ -159,7 +162,7 @@
tl: "peuimporte" tl: "peuimporte"
rows: rows:
selector: tr.t-row selector: tr:has(a[onmouseover])
fields: fields:
category: category:
selector: a[href*="/SousCategories/"] selector: a[href*="/SousCategories/"]
@ -168,42 +171,14 @@
- name: regexp - name: regexp
args: (\d+)$ args: (\d+)$
title: title:
selector: a[onmouseover] selector: a[href*="/SousCategories/"]
attribute: onmouseover attribute: title
filters:
- name: regexp
args: "<b>(.*?)</b>"
details: details:
selector: a[onmouseover] selector: a[onmouseover]
attribute: href attribute: href
download: download:
selector: a[href*="/Telechargement/"] selector: a[onmouseover]
attribute: href attribute: href
date:
selector: a[onmouseover] font[color="#F2F2F2"]
filters:
- name: regexp
args: "Il y a (.*?)\\s-"
- name: replace
args: ["heures", "hours"]
- name: replace
args: ["heure", "hour"]
- name: replace
args: ["Jours", "days"]
- name: replace
args: ["Jour", "day"]
- name: replace
args: ["Semaines", "weeks"]
- name: replace
args: ["Semaine", "week"]
- name: replace
args: ["Mois", "months"]
- name: replace
args: ["Ans", "years"]
- name: replace
args: ["An", "year"]
- name: append
args: " ago"
banner: banner:
selector: a[onmouseover] selector: a[onmouseover]
attribute: onmouseover attribute: onmouseover
@ -211,18 +186,24 @@
- name: regexp - name: regexp
args: "src= (.*?)><" args: "src= (.*?)><"
size: size:
selector: td:nth-last-child(5) selector: td:nth-last-child(6)
grabs: grabs:
selector: td:nth-last-child(4) selector: td:nth-last-child(5)
seeders: seeders:
selector: td:nth-last-child(3) selector: td:nth-last-child(4)
leechers: leechers:
selector: td:nth-last-child(2) selector: td:nth-last-child(3)
date:
selector: td:nth-last-child(1)
filters:
- name: dateparse
args: "02-01-2006 15:04:05"
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src$="/images/Torrents/freeleech.png"]: "0" img[src$="/images/Torrents/TLibre.png"]: 0
"*": "1" img[src$="/images/Torrents/freeleech.png"]: 0
"*": 1
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": "1" "*": 1
# TT3.00 FRENCH # TT3.00 FRENCH