asiancinema: updates for unit3d 1.9.2

This commit is contained in:
Garfield69 2019-04-07 08:26:05 +12:00
parent 593bbb37d3
commit 5fe974afad
1 changed files with 39 additions and 13 deletions

View File

@ -25,10 +25,19 @@
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
selector: a[href$="/logout"]
ratio:
path: torrents
selector: li:has(i.fa-sync-alt)
filters:
- name: regexp
args: "Ratio : (\\d+)"
search: search:
paths: paths:
@ -36,23 +45,24 @@
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:
selector: table > tbody > tr selector: table > tbody > tr
fields: fields:
category: category:
selector: a[href*="/category/"] selector: a[href*="/categories/"]
attribute: href attribute: href
filters: filters:
- name: regexp - name: regexp
args: "/category/.*?\\.(\\d+)" args: "/categories/.*?\\.(\\d+)"
title: title:
selector: a.view-torrent selector: a.view-torrent
download: download:
@ -61,17 +71,28 @@
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:
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(8)
filters: filters:
- name: regexp - name: regexp
args: ([\d\.]+) args: ([\d\.]+)
imdb:
optional: true
selector: a[href*="www.imdb.com/title/tt"]
attribute: href
date: date:
selector: time selector: time
filters: filters:
@ -100,12 +121,17 @@
args: [" (ay|kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden)", "months"] args: [" (ay|kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden)", "months"]
downloadvolumefactor: downloadvolumefactor:
case: case:
"i[data-original-title=\"100% Free\"]": "0" # Single Torrent Freeleech "i[data-original-title=\"Personal Freeleech\"]": "0" # 24 Hour FreeLeech From BON Store
"i[data-original-title=\"Special Freeleech\"]": "0" # Special FreeLeech For Certain User Groups
"i[data-original-title=\"Freeleech Token\"]": "0" # Freeleech From Token
"i[data-original-title=\"Global FreeLeech\"]": "0" # Global Freeleech "i[data-original-title=\"Global FreeLeech\"]": "0" # Global Freeleech
"i[data-original-title=\"Freeleech\"]": "0" # Freeleech
"i[data-original-title=\"Featured\"]": "0" # Featured Torrent
"*": "1" "*": "1"
uploadvolumefactor: uploadvolumefactor:
case: case:
"i[data-original-title=\"Double upload\"]": "2" # Single Torrent Double Upload "i[data-original-title=\"Double Upload\"]": "2" # Single Torrent Double Upload
"i[data-original-title=\"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
"*": "1" "*": "1"
# UNIT3D # UNIT3D 1.9.2