desireleasers: customised unit3d 2.7

they have dropped categories from results
added magnets
hacked other selectors
added hiddencomment TR and another TR thats empty
who knows what they are up to it will probably change again tomorrow
This commit is contained in:
Garfield69
2020-11-10 16:43:09 +13:00
parent 3a24de7a58
commit de513c638a

View File

@@ -10,11 +10,7 @@ links:
caps: caps:
categorymappings: categorymappings:
- {id: 1, cat: Movies, desc: "Movies"} - {id: 1, cat: Other, desc: "Movies, TV, Music, MV, Game, Blockbuster"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 3, cat: Audio, desc: "Music"}
- {id: 4, cat: Audio/Video, desc: "Music Videos"}
- {id: 5, cat: Console, desc: "Game"}
modes: modes:
search: [q] search: [q]
@@ -72,7 +68,6 @@ search:
paths: paths:
- path: torrents/filter - path: torrents/filter
inputs: inputs:
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
search: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" search: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
description: "" description: ""
uploader: "" uploader: ""
@@ -82,47 +77,35 @@ search:
mal: "" mal: ""
igdb: "" igdb: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 50 view: list
qty: 100
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
selector: table > tbody > tr selector: table > tbody > tr:has(a[href^="magnet:?dn="])
fields: fields:
category: category:
selector: a[href*="/categories/"] text: 1
attribute: href
filters:
- name: regexp
args: "/categories/(\\d+)"
title: title:
selector: a.view-torrent selector: a[href*="/torrents/"]
details:
selector: a[href*="/torrents/"]
attribute: href
download: download:
selector: a[href*="/download/"] selector: a[href*="/download/"]
attribute: href attribute: href
details: magnet:
selector: a.view-torrent selector: a[href^="magnet:?dn="]
attribute: href attribute: href
poster: poster:
optional: true optional: true
selector: div.torrent-poster img selector: img.tps
attribute: src attribute: src
filters: filters:
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] args: ["https://via.placeholder.com/600x900", ""]
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)
filters:
- name: regexp
args: (\d+)
imdb: imdb:
optional: true optional: true
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
@@ -132,7 +115,7 @@ search:
selector: a[href*="themoviedb.org/movie/"] selector: a[href*="themoviedb.org/movie/"]
attribute: href attribute: href
date: date:
selector: time selector: td:nth-last-child(6)
filters: filters:
# translations for Turkish|Estonian|Danish|Italian|Polish|Norwegian|Portuguese|Czech|Russian|Romanian|Spanish|French|German|Bulgarian|Dutch|Chinese|Japanese|Swedish # translations for Turkish|Estonian|Danish|Italian|Polish|Norwegian|Portuguese|Czech|Russian|Romanian|Spanish|French|German|Bulgarian|Dutch|Chinese|Japanese|Swedish
- name: re_replace - name: re_replace
@@ -169,6 +152,15 @@ search:
args: ["(?i) (an)", "year"] args: ["(?i) (an)", "year"]
- name: re_replace - name: re_replace
args: ["(?i)(För |und)", ""] # Misc removals args: ["(?i)(För |und)", ""] # Misc removals
- name: timeago
size:
selector: td:nth-last-child(5)
seeders:
selector: td:nth-last-child(4)
leechers:
selector: td:nth-last-child(3)
grabs:
selector: td:nth-last-child(2)
downloadvolumefactor: downloadvolumefactor:
case: case:
i[class*="fa-id-badge text-orange"]: 0 # 24 Hour FreeLeech From BON Store i[class*="fa-id-badge text-orange"]: 0 # 24 Hour FreeLeech From BON Store
@@ -187,4 +179,4 @@ search:
"*": 1 "*": 1
minimumratio: minimumratio:
text: 0.4 text: 0.4
# UNIT3D 2.7.0 # UNIT3D 2.7.0 (Customised)