assorted unit3d: add tmdbid support

for those that can do tvdbid support that too
standardise poster to one side for dashboard display
for those I have an a/c add MR and MST if required
This commit is contained in:
Garfield69
2020-11-14 09:13:41 +13:00
parent 51bab85faa
commit 8d6d56bc67
20 changed files with 292 additions and 115 deletions

View File

@@ -16,7 +16,7 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
settings: settings:
- name: oneurl - name: oneurl
@@ -55,10 +55,10 @@ search:
- path: torrents - path: torrents
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 }}" # for dashboard imdbid search
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
@@ -106,6 +106,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
downloadvolumefactor: downloadvolumefactor:
case: case:
i[data-original-title="100% Free"]: 0 i[data-original-title="100% Free"]: 0

View File

@@ -16,7 +16,7 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
settings: settings:
- name: info_oid - name: info_oid
@@ -75,10 +75,10 @@ search:
- path: torrents - path: torrents
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 }}" # for dashboard imdbid search
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
@@ -126,6 +126,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
downloadvolumefactor: downloadvolumefactor:
case: case:
i[data-original-title="100% Free"]: 0 i[data-original-title="100% Free"]: 0

View File

@@ -73,7 +73,7 @@ search:
- path: torrents/filter - path: torrents/filter
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
@@ -81,10 +81,13 @@ search:
tmdb: "{{ .Query.TMDBID }}" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -109,8 +112,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:

View File

@@ -24,8 +24,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
book-search: [q] book-search: [q]
@@ -82,17 +82,18 @@ search:
- path: filterTorrents - path: filterTorrents
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}}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -117,8 +118,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -133,6 +138,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:

View File

@@ -74,7 +74,7 @@ search:
- path: torrents - path: torrents
inputs: inputs:
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}" $raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
title: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" title: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
freeleech: "{{ if .Config.freeleech }}on{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}on{{ else }}{{ end }}"
order_by: "{{ .Config.sort }}" order_by: "{{ .Config.sort }}"

View File

@@ -68,7 +68,7 @@ search:
paths: paths:
- path: torrents/filter - path: torrents/filter
inputs: inputs:
search: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
@@ -76,10 +76,13 @@ search:
tmdb: "{{ .Query.TMDBID }}" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
view: list
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -103,8 +106,12 @@ search:
selector: img.tps selector: img.tps
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] args: ["https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270", ""]
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href

View File

@@ -25,8 +25,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
book-search: [q] book-search: [q]
@@ -81,18 +81,21 @@ search:
- path: torrents/filter - path: torrents/filter
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -117,8 +120,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -133,6 +140,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:

View File

@@ -42,8 +42,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
settings: settings:
@@ -97,18 +97,21 @@ search:
- path: torrents/filter - path: torrents/filter
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 50 qty: 50
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -133,8 +136,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -149,6 +156,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:
@@ -204,6 +214,8 @@ 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
minimumratio:
text: 0.4
minimumseedtime: minimumseedtime:
# 3 days (as seconds = 3 x 24 x 60 x 60) # 3 days (as seconds = 3 x 24 x 60 x 60)
text: 259200 text: 259200

View File

@@ -78,7 +78,7 @@ search:
- path: torrents/filter - path: torrents/filter
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
@@ -86,10 +86,13 @@ search:
tmdb: "{{ .Query.TMDBID }}" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
rows: rows:
selector: table > tbody > tr selector: table > tbody > tr
@@ -113,8 +116,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:

View File

@@ -19,8 +19,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
settings: settings:
- name: username - name: username
@@ -73,18 +73,20 @@ search:
- path: torrents/filter - path: torrents/filter
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 }}" # for dashboard imdbid search
description: "" description: ""
keywords: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -126,8 +128,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -142,6 +148,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:

View File

@@ -19,8 +19,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
settings: settings:
- name: username - name: username
@@ -52,6 +52,22 @@ settings:
type: checkbox type: checkbox
label: Replace VOSTFR with ENGLISH label: Replace VOSTFR with ENGLISH
default: false default: false
- name: sort
type: select
label: Sort requested from site
default: created_at
options:
created_at: created
seeders: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login: login:
path: login path: login
@@ -78,17 +94,19 @@ search:
- path: filterTorrents - path: filterTorrents
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
sort: created_at sorting: "{{ .Config.sort }}"
direction: desc direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -129,8 +147,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -145,6 +167,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:

View File

@@ -24,8 +24,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
settings: settings:
@@ -39,6 +39,22 @@ settings:
type: checkbox type: checkbox
label: Search freeleech only label: Search freeleech only
default: false default: false
- name: sort
type: select
label: Sort requested from site
default: created_at
options:
created_at: created
seeders: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login: login:
path: login path: login
@@ -65,16 +81,18 @@ search:
- path: filterTorrents - path: filterTorrents
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
sort: created_at sorting: "{{ .Config.sort }}"
direction: desc direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -99,8 +117,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -115,6 +137,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:

View File

@@ -28,8 +28,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
book-search: [q] book-search: [q]
@@ -103,18 +103,21 @@ search:
- path: torrents/filter - path: torrents/filter
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -158,8 +161,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -174,6 +181,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:

View File

@@ -72,7 +72,7 @@ search:
- path: torrents/filter - path: torrents/filter
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
@@ -80,10 +80,13 @@ search:
tmdb: "{{ .Query.TMDBID }}" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -108,8 +111,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -182,6 +189,8 @@ 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
minimumratio:
text: 0.4
minimumseedtime: minimumseedtime:
# 5 days (as seconds = 5 x 24 x 60 x 60) # 5 days (as seconds = 5 x 24 x 60 x 60)
text: 432000 text: 432000

View File

@@ -25,8 +25,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
settings: settings:
@@ -74,17 +74,18 @@ search:
- path: filterTorrents - path: filterTorrents
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -109,11 +110,18 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] args: ["https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270", ""]
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
size: size:
selector: td:nth-last-child(4) selector: td:nth-last-child(4)
grabs: grabs:

View File

@@ -48,7 +48,7 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
settings: settings:
- name: username - name: username
@@ -101,16 +101,19 @@ search:
- path: torrents/filter - path: torrents/filter
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -131,12 +134,6 @@ search:
details: details:
selector: a.view-torrent selector: a.view-torrent
attribute: href attribute: href
poster:
selector: div.torrent-poster img
attribute: src
filters:
- name: replace
args: ["https://via.placeholder.com/600x900", ""]
size: size:
selector: td:nth-last-child(4) selector: td:nth-last-child(4)
seeders: seeders:
@@ -206,4 +203,6 @@ 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
minimumratio:
text: 1.0
# UNIT3D 2.2.7 # UNIT3D 2.2.7

View File

@@ -34,8 +34,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
book-search: [q] book-search: [q]
@@ -92,16 +92,18 @@ search:
- path: filterTorrents - path: filterTorrents
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -126,8 +128,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] args: ["https://images.weserv.nl/?url=https://i.imgur.com/IPRVhUJ.png&w=180&h=270", ""]
size: size:
selector: td:nth-last-child(4) selector: td:nth-last-child(4)
seeders: seeders:
@@ -142,6 +148,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:
@@ -197,6 +206,8 @@ 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
minimumratio:
text: 0.4
minimumseedtime: minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60) # 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800 text: 172800

View File

@@ -14,20 +14,20 @@ legacylinks:
caps: caps:
categorymappings: categorymappings:
- {id: 1, cat: Movies, desc: "Movies"} - {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV"} - {id: 2, cat: TV, desc: "Serien"}
- {id: 3, cat: Audio, desc: "Music"} - {id: 3, cat: Audio, desc: "Musik"}
- {id: 4, cat: Console, desc: "Games"} - {id: 4, cat: Console, desc: "Games"}
- {id: 5, cat: PC, desc: "Apps"} - {id: 5, cat: PC, desc: "Apps"}
- {id: 6, cat: Other, desc: "Misc"} - {id: 6, cat: Other, desc: "Misc"}
- {id: 7, cat: XXX, desc: "XXX"} - {id: 7, cat: XXX, desc: "XxX"}
- {id: 8, cat: Movies, desc: "Kids"} - {id: 8, cat: Movies, desc: "Kids"}
- {id: 9, cat: TV/Sport, desc: "Sport"} - {id: 9, cat: TV/Sport, desc: "Sport"}
- {id: 10, cat: TV/Documentary, desc: "Doku"} - {id: 10, cat: TV/Documentary, desc: "Doku"}
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
settings: settings:
@@ -81,17 +81,18 @@ search:
- path: filterTorrents - path: filterTorrents
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 }}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
page: 0
view: list
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
rows: rows:
@@ -116,11 +117,18 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://theshinning.me/img/nocover.png", ""] args: ["https://images.weserv.nl/?url=https://theshinning.me/img/nocover.png&w=180&h=270", ""]
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
size: size:
selector: td:nth-last-child(4) selector: td:nth-last-child(4)
grabs: grabs:
@@ -133,12 +141,13 @@ search:
leechers: leechers:
selector: td:nth-last-child(1) selector: td:nth-last-child(1)
date: date:
# 13.11.2020 19:50:26
selector: time selector: time
filters: filters:
- name: append - name: append
args: " +01:00" # CET args: " +01:00" # CET
- name: dateparse - name: dateparse
args: "02/01/2006 15:04:05 -07:00" args: "02.01.2006 15:04:05 -07:00"
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

View File

@@ -19,8 +19,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
settings: settings:
@@ -75,7 +75,9 @@ search:
- path: filter/torrents - path: filter/torrents
inputs: inputs:
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}freeleech=1&{{ else }}{{ end }}" $raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}freeleech=1&{{ else }}{{ end }}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{ else }}{{ .Keywords }}{{ end }}" # note: dashboard only supports imdbid (tt12345678). Since tvdbid and tmdbid are just numbers the dashboard sends them as keywords
# which will fail title matching because we need the andmatch to filter the web sites title missmatches (it searches in descriptions too)
search: "{{ if or .Query.IMDBID .Query.TVDBID .Query.TMDBID }}{{ or .Query.IMDBIDShort .Query.TVDBID .Query.TMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
tags: "" tags: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
@@ -118,6 +120,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
downloadvolumefactor: downloadvolumefactor:
case: case:
i.fa-star: 0 # Freeleech i.fa-star: 0 # Freeleech

View File

@@ -28,8 +28,8 @@ caps:
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid, tmdbid]
music-search: [q] music-search: [q]
settings: settings:
@@ -83,16 +83,17 @@ search:
- path: torrents/filter - path: torrents/filter
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}}" # for dashboard imdbid search
description: "" description: ""
uploader: "" uploader: ""
imdb: "{{ .Query.IMDBIDShort }}" imdb: "{{ .Query.IMDBIDShort }}"
tvdb: "" tvdb: "{{ .Query.TVDBID }}"
tmdb: "" tmdb: "{{ .Query.TMDBID }}"
mal: "" mal: ""
igdb: "" igdb: ""
start_year: ""
end_year: ""
sorting: "{{ .Config.sort }}" sorting: "{{ .Config.sort }}"
sort: "{{ .Config.sort }}"
direction: "{{ .Config.type }}" direction: "{{ .Config.type }}"
qty: 100 qty: 100
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
@@ -119,8 +120,12 @@ search:
selector: div.torrent-poster img selector: div.torrent-poster img
attribute: src attribute: src
filters: filters:
- name: prepend
args: "https://images.weserv.nl/?url=" # for display on dashboard
- name: append
args: "&w=180&h=270" # for display on dashboard
- name: replace - name: replace
args: ["https://via.placeholder.com/600x900", ""] 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(4)
seeders: seeders:
@@ -135,6 +140,9 @@ search:
imdb: imdb:
selector: a[href*="imdb.com/title/tt"] selector: a[href*="imdb.com/title/tt"]
attribute: href attribute: href
tmdbid:
selector: a[href*="themoviedb.org/movie/"]
attribute: href
date: date:
selector: time selector: time
filters: filters:
@@ -190,6 +198,8 @@ 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
minimumratio:
text: 0.4
minimumseedtime: minimumseedtime:
# 1 day (as seconds = 24 x 60 x 60) # 1 day (as seconds = 24 x 60 x 60)
text: 86400 text: 86400