desireleasers: support for upgrade to unit3d 2.0.0

This commit is contained in:
Garfield69
2019-11-11 08:50:43 +13:00
parent 9f3abf52e0
commit 5fc5ffd6cf

View File

@@ -33,11 +33,11 @@
message: message:
selector: script[nonce]:contains("Error") selector: script[nonce]:contains("Error")
test: test:
path: torrents path: /
selector: a[href$="/logout"] selector: a[href$="/logout"]
ratio: ratio:
path: torrents path: /
selector: li:has(i.fa-sync-alt) selector: li:has(i.fa-sync-alt)
filters: filters:
- name: regexp - name: regexp
@@ -45,7 +45,7 @@
search: search:
paths: paths:
- path: filterTorrents - path: torrents/filter
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}}"
@@ -67,7 +67,7 @@
attribute: href attribute: href
filters: filters:
- name: regexp - name: regexp
args: "/categories/.*?\\.(\\d+)" args: "/categories/(\\d+)"
title: title:
selector: a.view-torrent selector: a.view-torrent
download: download:
@@ -96,7 +96,7 @@
selector: td:nth-last-child(1) selector: td:nth-last-child(1)
filters: filters:
- name: regexp - name: regexp
args: ([\d\.]+) args: (\d+)
imdb: imdb:
optional: true optional: true
selector: a[href*="www.imdb.com/title/tt"] selector: a[href*="www.imdb.com/title/tt"]
@@ -143,4 +143,4 @@
i[class*="fa-globe text-green"]: 2 # Global Double Upload i[class*="fa-globe text-green"]: 2 # Global Double Upload
i[class*="fa-certificate text-pink"]: 2 # Featured Torrent i[class*="fa-certificate text-pink"]: 2 # Featured Torrent
"*": 1 "*": 1
# UNIT3D 1.9.4 # UNIT3D 2.0.0