Blutopia: fix definition

This commit is contained in:
kaso17
2018-07-10 18:09:53 +02:00
parent 6e7d983fc3
commit 471d494b3b

View File

@@ -36,7 +36,6 @@
inputs: inputs:
$raw: "{{range .Categories}}categories[]={{.}}&{{end}}" $raw: "{{range .Categories}}categories[]={{.}}&{{end}}"
search: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}" search: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: ""
@@ -45,15 +44,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/"]
@@ -64,11 +56,8 @@
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
@@ -85,12 +74,6 @@
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"