mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted: unit3d api update (#12576)
This commit is contained in:
@@ -61,24 +61,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: data
|
selector: data
|
||||||
count:
|
count:
|
||||||
|
@@ -63,24 +63,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: data
|
selector: data
|
||||||
count:
|
count:
|
||||||
|
@@ -54,24 +54,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: data
|
selector: data
|
||||||
count:
|
count:
|
||||||
|
@@ -62,24 +62,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: data
|
selector: data
|
||||||
count:
|
count:
|
||||||
|
@@ -54,24 +54,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: [^$, "%"]
|
args: [^$, "%"]
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: reelflix-api
|
id: reelflix-api
|
||||||
name: ReelFlix (API)
|
name: ReelFLiX (API)
|
||||||
description: "ReelFlix (HD4Free,LegacyHD) is a Private Torrent Tracker for HD MOVIES / TV / GENERAL"
|
description: "ReelFLiX (HD4Free,LegacyHD) is a Private Torrent Tracker for HD MOVIES"
|
||||||
language: en-US
|
language: en-US
|
||||||
type: private
|
type: private
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
@@ -14,10 +14,6 @@ caps:
|
|||||||
# dont forget to update the case block in the search fields category
|
# dont forget to update the case block in the search fields category
|
||||||
categorymappings:
|
categorymappings:
|
||||||
- {id: 1, cat: Movies, desc: "Movies"}
|
- {id: 1, cat: Movies, desc: "Movies"}
|
||||||
- {id: 2, cat: TV, desc: "TV"}
|
|
||||||
- {id: 3, cat: Audio, desc: "Music"}
|
|
||||||
- {id: 4, cat: Books/EBook, desc: "E-Book"}
|
|
||||||
- {id: 5, cat: TV, desc: "TV Pack"}
|
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
@@ -58,24 +54,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: data
|
selector: data
|
||||||
count:
|
count:
|
||||||
@@ -86,10 +70,6 @@ search:
|
|||||||
selector: category
|
selector: category
|
||||||
case:
|
case:
|
||||||
Movie: 1
|
Movie: 1
|
||||||
TV: 2
|
|
||||||
Music: 3
|
|
||||||
E-Book: 4
|
|
||||||
TV Pack: 5
|
|
||||||
title:
|
title:
|
||||||
selector: name
|
selector: name
|
||||||
details:
|
details:
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: reelflix
|
id: reelflix
|
||||||
name: ReelFlix
|
name: ReelFLiX
|
||||||
description: "ReelFlix (HD4Free,LegacyHD) is a Private Torrent Tracker for HD MOVIES / TV / GENERAL"
|
description: "ReelFLiX (HD4Free,LegacyHD) is a Private Torrent Tracker for HD MOVIES"
|
||||||
language: en-US
|
language: en-US
|
||||||
type: private
|
type: private
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
@@ -13,10 +13,6 @@ legacylinks:
|
|||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
- {id: 1, cat: Movies, desc: "Movies"}
|
- {id: 1, cat: Movies, desc: "Movies"}
|
||||||
- {id: 2, cat: TV, desc: "TV"}
|
|
||||||
- {id: 3, cat: Audio, desc: "Music"}
|
|
||||||
- {id: 4, cat: Books/EBook, desc: "E-Book"}
|
|
||||||
- {id: 5, cat: TV, desc: "TV Pack"}
|
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@@ -62,24 +62,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: diacritics
|
- name: diacritics
|
||||||
args: replace
|
args: replace
|
||||||
|
@@ -49,24 +49,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: data
|
selector: data
|
||||||
count:
|
count:
|
||||||
|
@@ -62,24 +62,12 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
|
||||||
- path: /api/torrents/filter
|
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
||||||
|
- path: "/api/torrents/filter?api_token={{ .Config.apikey }}&name={{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}&sortField={{ .Config.sort }}&sortDirection={{ .Config.type }}&perPage=100&page=1{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
attribute: attributes
|
attribute: attributes
|
||||||
|
|
||||||
inputs:
|
|
||||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php
|
|
||||||
api_token: "{{ .Config.apikey }}"
|
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdb: "{{ .Query.TMDBID }}"
|
|
||||||
imdb: "{{ .Query.IMDBIDShort }}"
|
|
||||||
tvdb: "{{ .Query.TVDBID }}"
|
|
||||||
sortField: "{{ .Config.sort }}"
|
|
||||||
sortDirection: "{{ .Config.type }}"
|
|
||||||
perPage: 100
|
|
||||||
page: 1
|
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free=1{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: data
|
selector: data
|
||||||
count:
|
count:
|
||||||
|
Reference in New Issue
Block a user