Updated mock arr container names
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
id: utopia
|
||||
name: UTOPIA
|
||||
name: UTOPIA (API)
|
||||
description: "UTOPIA is a UKRAINIAN Private Tracker for HD MOVIES and TV"
|
||||
language: uk-UA
|
||||
type: private
|
||||
@@ -71,9 +71,9 @@ login:
|
||||
|
||||
search:
|
||||
paths:
|
||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/wiki/Torrent-API-(UNIT3D-v8.x.x)
|
||||
# https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php#L476
|
||||
- path: "/api/torrents/filter"
|
||||
# https://hdinnovations.github.io/UNIT3D/torrent_api.html
|
||||
# https://github.com/HDInnovations/UNIT3D/blob/master/app/Http/Controllers/API/TorrentController.php#L657
|
||||
- path: api/torrents/filter
|
||||
response:
|
||||
type: json
|
||||
|
||||
@@ -145,8 +145,13 @@ search:
|
||||
args: ["(?i)(Науково фантастичний)", "Науково_фантастичний"]
|
||||
- name: re_replace
|
||||
args: ["(?i)(Політика та війна)", "Політика_та_війна"]
|
||||
_internal:
|
||||
selector: internal
|
||||
case:
|
||||
False: "{{ .False }}"
|
||||
True: "{{ .True }}"
|
||||
description:
|
||||
text: "{{ .Result.genre }}"
|
||||
text: "{{ if .Result._internal }}Internal{{ else }}{{ end }}{{ if and .Result._internal .Result.genre }} | {{ else }}{{ end }}{{ .Result.genre }}"
|
||||
seeders:
|
||||
selector: seeders
|
||||
leechers:
|
||||
@@ -194,4 +199,4 @@ search:
|
||||
minimumseedtime:
|
||||
# 3 days (as seconds = 3 x 24 x 60 x 60)
|
||||
text: 259200
|
||||
# json UNIT3D 8.1.3
|
||||
# json UNIT3D 9.1.5
|
||||
|
||||
Reference in New Issue
Block a user