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