galeriens: new layout. new date selector.

This commit is contained in:
Garfield69
2019-11-16 08:17:41 +13:00
parent 062b967f88
commit dc7f8e20ab

View File

@@ -189,8 +189,9 @@
- name: torrentlanguage - name: torrentlanguage
type: select type: select
label: Torrent Language label: Torrent Language
default: "11" default: "0"
options: options:
"0": "Toutes Les Langues"
"1": "Allemand" "1": "Allemand"
"2": "Anglais(UK)" "2": "Anglais(UK)"
"3": "Anglais(US)" "3": "Anglais(US)"
@@ -233,7 +234,7 @@
search: search:
paths: paths:
# https://tempsdepause.eu/TTV3/Torrents/Recherche?recherche=voyez&type=exacte&endroit=nomtorrent&langue=11&tl=peuimporte # https://galeriens.eu/TTV3/Torrents/Recherche?recherche=&type=tout&endroit=nomtorrent&langue=0&tl=peuimporte
# categories for searching are unsupported # categories for searching are unsupported
- path: TTV3/Torrents/Recherche - path: TTV3/Torrents/Recherche
inputs: inputs:
@@ -271,18 +272,38 @@
- name: regexp - name: regexp
args: "src= (.*?)><" args: "src= (.*?)><"
size: size:
selector: td:nth-last-child(6)
grabs:
selector: td:nth-last-child(5) selector: td:nth-last-child(5)
seeders: grabs:
selector: td:nth-last-child(4) selector: td:nth-last-child(4)
leechers: seeders:
selector: td:nth-last-child(3) selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(2)
date: date:
selector: td:nth-last-child(1) selector: td:nth-child(2) a font[color="#F2F2F2"]
filters: filters:
- name: dateparse - name: replace
args: "02-01-2006 15:04:05" args: ["il y a ", ""]
- name: replace
args: [ " Jours", " days"]
- name: replace
args: [ " Jour", " day"]
- name: replace
args: [ " heures", " hours"]
- name: replace
args: [ " heure", " hour"]
- name: replace
args: [ " Semaines", " weeks"]
- name: replace
args: [ " Semaine", " week"]
- name: replace
args: [ " mois", " month"]
- name: replace
args: [ " ans", " years"]
- name: replace
args: [ " an", " year"]
- name: append
args: " ago"
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src$="/images/Torrents/TLibre.png"]: "0" img[src$="/images/Torrents/TLibre.png"]: "0"