yourexotic: new layout. resolves #8360

This commit is contained in:
Garfield69 2020-04-26 08:43:55 +12:00
parent 1dc5c1ab87
commit 2ab1f37231
1 changed files with 27 additions and 22 deletions

View File

@ -1,7 +1,7 @@
---
site: yourexotic
name: ExoticaZ
description: "ExoticaZ (YourExotic) is a Private Torrent Tracker for XXX"
description: "ExoticaZ (YourExotic) is a Private Torrent Tracker for 3X"
language: en-us
type: private
encoding: UTF-8
@ -13,6 +13,7 @@
caps:
categorymappings:
- {id: 1, cat: XXX, desc: "DVDRip"}
modes:
search: [q]
tv-search: [q]
@ -24,7 +25,7 @@
inputs:
username_email: "{{ .Config.username }}"
password: "{{ .Config.password }}"
remember: "on"
remember: on
error:
- selector: div.invalid-feedback
test:
@ -33,11 +34,14 @@
search:
path: torrents
inputs:
# 0 any 1 filename 2 descr 3 files
in: 1
search: "{{ .Keywords }}"
category: 0
rows:
selector: div.table-responsive > table > tbody > tr
fields:
category:
text: 1
@ -47,34 +51,35 @@
details:
selector: a.torrent-link
attribute: href
download:
selector: a[href*="/download/"]
attribute: href
banner:
selector: span.screen-image
selector: .screen-image
attribute: data-screens
filters:
- name: split
args: ["|", 0]
size:
selector: td:nth-child(4)
seeders:
selector: td:nth-child(5)
leechers:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7)
date:
selector: td:nth-child(3)
selector: td:nth-last-child(5)
filters:
- name: append
args: " ago"
download:
selector: a[href*="/download/"]
attribute: href
downloadvolumefactor:
size:
selector: td:nth-last-child(4)
seeders:
selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(2)
grabs:
selector: td:nth-last-child(1)
downloadvolumefactor:
case:
i[title="Free Download"]: "0"
i[title="Half Download"]: "0.5"
"*": "1"
uploadvolumefactor:
i[title="Free Download"]: 0
i[title="Half Download"]: 0.5
"*": 1
uploadvolumefactor:
case:
i.fa-gem: "2"
"*": "1"
i.fa-gem: 2
"*": 1
# engine tbd