Racing4Everyone: fix definition

This commit is contained in:
kaso17
2018-07-10 18:41:08 +02:00
parent b3d53d1c01
commit 86400e1b8a

View File

@@ -54,15 +54,8 @@
sorting: created_at sorting: created_at
direction: desc direction: desc
qty: 100 qty: 100
preprocessingfilters:
- name: jsonjoinarray
args: ["$.result", ""]
- name: prepend
args: "<table>"
- name: append
args: "</table>"
rows: rows:
selector: tr selector: table > tbody > tr
fields: fields:
category: category:
selector: a[href*="/categories/"] selector: a[href*="/categories/"]
@@ -73,33 +66,24 @@
title: title:
selector: a.view-torrent selector: a.view-torrent
download: download:
selector: a[href*="/download_check/"] selector: a[href*="/download/"]
attribute: href attribute: href
filters:
- name: replace
args: ["/download_check/", "/download/"]
details: details:
selector: a.view-torrent selector: a.view-torrent
attribute: href attribute: href
size: size:
selector: td:nth-child(5) selector: td:nth-child(4)
seeders: seeders:
selector: td:nth-child(7)
leechers:
selector: td:nth-child(8)
grabs:
selector: td:nth-child(6) selector: td:nth-child(6)
leechers:
selector: td:nth-child(7)
grabs:
selector: td:nth-child(5)
filters: filters:
- name: regexp - name: regexp
args: ([\d\.]+) args: ([\d\.]+)
date: date:
selector: time selector: time
attribute: datetime
filters:
- name: append
args: " +00:00"
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
downloadvolumefactor: downloadvolumefactor:
case: case:
"i[data-original-title=\"100% Free\"]": "0" "i[data-original-title=\"100% Free\"]": "0"