shareisland: upgrade for unit3d 5.3.0 resolves #11847

This commit is contained in:
Garfield69 2021-06-01 00:08:39 +12:00
parent e1c007b9cf
commit 816ba17902
1 changed files with 26 additions and 34 deletions

View File

@ -77,24 +77,24 @@ login:
search: search:
paths: paths:
- path: torrents/filter - path: torrents
inputs: inputs:
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}" $raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
description: "" description: ""
mediainfo: ""
keywords: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" tmdbId: "{{ .Query.TMDBID }}"
tvdb: "{{ .Query.TVDBID }}" imdbId: "{{ .Query.IMDBIDShort }}"
tmdb: "{{ .Query.TMDBID }}" tvdbId: "{{ .Query.TVDBID }}"
mal: "" malId: ""
igdb: "" startYear: ""
start_year: "" endYear: ""
end_year: "" sortField: "{{ .Config.sort }}"
sorting: "{{ .Config.sort }}" sortDirection: "{{ .Config.type }}"
direction: "{{ .Config.type }}" perPage: 100
qty: 100 page: 1
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
keywordsfilters: keywordsfilters:
- name: diacritics - name: diacritics
@ -151,28 +151,17 @@ search:
attribute: src attribute: src
filters: filters:
- name: replace - name: replace
args: ["&w=52&h=80", "&w=180&h=270"] # for display on dashboard args: ["https://via.placeholder.com/90x135", ""]
- name: replace
args: ["https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270", ""]
size: size:
selector: td:nth-last-child(4) selector: td:nth-last-child(5)
seeders: seeders:
selector: td:nth-last-child(3) selector: td:nth-last-child(4)
leechers: leechers:
selector: td:nth-last-child(2) selector: td:nth-last-child(3)
grabs: grabs:
selector: td:nth-last-child(1) selector: td:nth-last-child(2)
filters:
- name: regexp
args: (\d+)
imdb:
selector: a[href*="imdb.com/title/tt"]
attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: td:nth-last-child(1)
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
@ -226,7 +215,10 @@ search:
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
# global MR is 0.4 but torrents must be seeded for 7 days regardless of ratio
# minimumratio:
# text: 0.4
minimumseedtime: minimumseedtime:
# 6 days (as seconds = 6 x 24 x 60 x 60) # 7 day (as seconds = 7 x 24 x 60 x 60)
text: 518400 text: 604800
# UNIT3D 5.2.0 # UNIT3D 5.3.0