blutopia: changes for unit3d 1.9.2

This commit is contained in:
Garfield69
2019-03-29 14:43:07 +13:00
parent 34114c23fc
commit 656702cde7

View File

@@ -25,8 +25,9 @@
inputs: inputs:
username: "{{ .Config.username }}" username: "{{ .Config.username }}"
password: "{{ .Config.password }}" password: "{{ .Config.password }}"
remember: 1
error: error:
- selector: form[action*="/login"] .text-red - selector: div.has-error
test: test:
path: torrents path: torrents
@@ -36,12 +37,13 @@
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: ""
tmdb: "" tmdb: ""
mal: "" mal: ""
sorting: created_at sort: created_at
direction: desc direction: desc
qty: 100 qty: 100
rows: rows:
@@ -61,6 +63,13 @@
details: details:
selector: a.view-torrent selector: a.view-torrent
attribute: href attribute: href
banner:
optional: true
selector: div.torrent-poster img
attribute: src
filters:
- name: replace
args: ["https://via.placeholder.com/600x900", ""]
size: size:
selector: td:nth-child(5) selector: td:nth-child(5)
seeders: seeders:
@@ -74,7 +83,7 @@
args: ([\d\.]+) args: ([\d\.]+)
imdb: imdb:
optional: true optional: true
selector: a[href^="https://www.imdb.com/title/"] selector: a[href*="www.imdb.com/title/tt"]
attribute: href attribute: href
date: date:
selector: time selector: time
@@ -117,4 +126,4 @@
"i[data-original-title=\"Global Double Upload\"]": "2" # Global Double Upload "i[data-original-title=\"Global Double Upload\"]": "2" # Global Double Upload
"i[data-original-title=\"Featured\"]": "2" # Featured Torrent "i[data-original-title=\"Featured\"]": "2" # Featured Torrent
"*": "1" "*": "1"
# UNIT3D # UNIT3D 1.9.2