1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-05-08 08:58:39 +01:00

jackett indexers as of eda5ca45dc05d571749d96a26e31b59226ecc5a4

jackett indexers as of ceec86765936c1c0c9d60476d205fa786ff19d68

jackett indexers as of ae27a4e9ce13bc573f780ce51a407bc5f5e9e64b
This commit is contained in:
bakerboy448
2022-03-17 20:44:53 -05:00
parent e4b3f9b48b
commit 1d5369724f
9 changed files with 153 additions and 287 deletions
-98
View File
@@ -1,98 +0,0 @@
---
id: torrentmax
name: TorrentMax
description: "TorrentMax (토렌트맥스) is a Public KOREAN tracker for Korean media."
language: ko-KR
type: public
encoding: UTF-8
followredirect: true
links:
- https://torrentmax1.net/
legacylinks:
- https://torrentmax15.com/
caps:
categorymappings:
- {id: "ANIMATION", cat: TV/Anime, desc: "애니 (Animation)"}
- {id: "GAME", cat: Console, desc: "게임 (Games)"}
- {id: "MOVIE_EN", cat: Movies/Foreign, desc: "영화 (Movie EN)"}
- {id: "MOVIE", cat: Movies, desc: "한국영화 (Movie)"}
- {id: "MOVIE_4K", cat: Movies/UHD, desc: "고화질영화 (Movie 4K)"}
- {id: "DRAMA", cat: TV, desc: "드라마 (Drama)"}
- {id: "DRAMA_EN", cat: TV/Foreign, desc: "넷플릭스 (Drama EN)"}
- {id: "DOCU", cat: TV/Documentary, desc: "다큐 (Documentary)"}
- {id: "VARIETY", cat: TV, desc: "예능 (Variety)"}
- {id: "MUSIC", cat: Audio, desc: "한국음악 (Music)"}
- {id: "MUSIK", cat: Audio/Foreign, desc: "외국음악 (Music Foreign)"}
- {id: "MOBILE", cat: PC/Mobile-Other, desc: "모바일 (Mobile)"}
- {id: "UTIL", cat: PC, desc: "유틸 (Software)"}
modes:
search: [q]
tv-search: [q]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: flaresolverr
type: info
label: FlareSolverr
default: This site may use Cloudflare DDoS Protection, therefore Prowlarr may require <a href="https://github.com/FlareSolverr/FlareSolverr" target="_blank">FlareSolver</a> added as a proxy in Prowlarr (Settings => Indexers) to access it.
download:
selector: a[href*="magnet:?xt="]
attribute: href
filters:
- name: append
args: "&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce"
search:
paths:
# https://torrentmax1.net/bbs/search.php?srows=100&gr_id=&sfl=wr_subject&stx=2021&sop=and
- path: bbs/search.php
inputs:
stx: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
srows: 100
gr_id: ""
# wr_subject||wr_content, wr_subject, wr_content, mb_id, wr_name
sfl: wr_subject
# or, and
sop: and
rows:
selector: div.search-media div.media:not(:has(a[href*="/max/PHOTO/"])):not(:has(a[href*="/max/GIRL/"])):not(:has(a[href*="/max/CAM/"])):not(:has(a[href*="/max/notice/"])):not(:has(a[href*="/max/humor/"]))
fields:
category:
selector: div.media-heading a
attribute: href
filters:
- name: regexp
args: "\\/max\\/(.+?)\\/"
title:
selector: div.media-heading a
details:
selector: div.media-heading a
attribute: href
download:
selector: div.media-heading a
attribute: href
poster:
selector: div.photo img
attribute: src
date:
# 2021-01-29T20:44:20+09:00
selector: time
attribute: datetime
size:
text: "512 MB"
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a
+3 -1
View File
@@ -18,9 +18,10 @@ caps:
- {id: 48, cat: Movies/HD, desc: "Film/x264/Eng"}
- {id: 83, cat: Movies/HD, desc: "Film/HD/Hun"}
- {id: 82, cat: Movies/HD, desc: "Film/HD/Eng"}
- {id: 94, cat: Movies/HD, desc: "Film/FHD/Hun"}
- {id: 95, cat: Movies/HD, desc: "Film/FHD/Eng"}
- {id: 92, cat: Movies/UHD, desc: "Film/UHD/Hun"}
- {id: 93, cat: Movies/UHD, desc: "Film/UHD/Eng"}
- {id: 64, cat: Movies, desc: "Film/Pack"}
- {id: 22, cat: TV, desc: "Sorozat/Hun"}
- {id: 58, cat: TV, desc: "Sorozat/Eng"}
- {id: 69, cat: TV/Anime, desc: "Mese/SD"}
@@ -35,6 +36,7 @@ caps:
- {id: 81, cat: PC/0day, desc: "Program/PC"}
- {id: 49, cat: PC/0day, desc: "Program/Rip"}
- {id: 14, cat: PC, desc: "Program/Egyéb"}
- {id: 64, cat: Movies, desc: "Film/Pack"}
- {id: 70, cat: Audio/Audiobook, desc: "Hangoskönyv"}
- {id: 27, cat: Books/EBook, desc: "Könyv/Hun"}
- {id: 50, cat: Books/EBook, desc: "Könyv/Eng"}
+1
View File
@@ -8,6 +8,7 @@ encoding: UTF-8
followredirect: true
links:
- https://glodls.to/
- https://gtdb.cc/
- https://www.gtdb.to/
- https://glotorrents.unblockit.day/
- https://glotorrents.nocensor.biz/
-99
View File
@@ -1,99 +0,0 @@
---
id: torrentmax
name: TorrentMax
description: "TorrentMax (토렌트맥스) is a Public KOREAN tracker for Korean media."
language: ko-KR
type: public
encoding: UTF-8
followredirect: true
links:
- https://torrentmax2.net/
legacylinks:
- https://torrentmax15.com/
- https://torrentmax1.net/
caps:
categorymappings:
- {id: "ANIMATION", cat: TV/Anime, desc: "애니 (Animation)"}
- {id: "GAME", cat: Console, desc: "게임 (Games)"}
- {id: "MOVIE_EN", cat: Movies/Foreign, desc: "영화 (Movie EN)"}
- {id: "MOVIE", cat: Movies, desc: "한국영화 (Movie)"}
- {id: "MOVIE_4K", cat: Movies/UHD, desc: "고화질영화 (Movie 4K)"}
- {id: "DRAMA", cat: TV, desc: "드라마 (Drama)"}
- {id: "DRAMA_EN", cat: TV/Foreign, desc: "넷플릭스 (Drama EN)"}
- {id: "DOCU", cat: TV/Documentary, desc: "다큐 (Documentary)"}
- {id: "VARIETY", cat: TV, desc: "예능 (Variety)"}
- {id: "MUSIC", cat: Audio, desc: "한국음악 (Music)"}
- {id: "MUSIK", cat: Audio/Foreign, desc: "외국음악 (Music Foreign)"}
- {id: "MOBILE", cat: PC/Mobile-Other, desc: "모바일 (Mobile)"}
- {id: "UTIL", cat: PC, desc: "유틸 (Software)"}
modes:
search: [q]
tv-search: [q]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: flaresolverr
type: info
label: FlareSolverr
default: This site may use Cloudflare DDoS Protection, therefore Prowlarr may require <a href="https://github.com/FlareSolverr/FlareSolverr" target="_blank">FlareSolver</a> added as a proxy in Prowlarr (Settings => Indexers) to access it.
download:
infohash:
hash:
selector: a[href^="magnet:?xt="]
attribute: href
filters:
- name: regexp
args: ([A-F|a-f|0-9]{40})
title:
selector: h3.panel-title
filters:
- name: trim
- name: validfilename
search:
paths:
# https://torrentmax2.net/search?srows=10&gr_id=&sfl=wr_subject%7C%7Cwr_content&stx=2021&sop=and
- path: "search?srows=50&sfl=wr_subject&sop=and&gr_id={{ if .Keywords }}&stx={{ .Keywords }}{{ else }}tv&stx={{ .Today.Year }}{{ end }}"
- path: "search?srows=50&sfl=wr_subject&sop=and&gr_id={{ if .Keywords }}&stx={{ .Keywords }}&page=2{{ else }}movie&stx={{ .Today.Year }}{{ end }}"
rows:
selector: div.search-media div.media:not(:has(a[href*="/max/PHOTO/"])):not(:has(a[href*="/max/GIRL/"])):not(:has(a[href*="/max/CAM/"])):not(:has(a[href*="/max/notice/"])):not(:has(a[href*="/max/humor/"]))
fields:
category:
selector: div.media-heading a
attribute: href
filters:
- name: regexp
args: "\\/max\\/(.+?)\\/"
title:
selector: div.media-heading a
details:
selector: div.media-heading a
attribute: href
download:
selector: div.media-heading a
attribute: href
poster:
selector: div.photo img
attribute: src
date:
# 2021-01-29T20:44:20+09:00
selector: time
attribute: datetime
size:
text: "512 MB"
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a
+2 -2
View File
@@ -7,9 +7,8 @@ type: public
encoding: UTF-8
followredirect: true
links:
- https://torrentqq134.com/
- https://torrentqq135.com/
legacylinks:
- https://torrentqq118.com/
- https://torrentqq119.com/
- https://torrentqq120.com/
- https://torrentqq121.com/
@@ -24,6 +23,7 @@ legacylinks:
- https://torrentqq131.com/
- https://torrentqq132.com/
- https://torrentqq133.com/
- https://torrentqq134.com/
caps:
categorymappings:
+103 -66
View File
@@ -11,46 +11,45 @@ links:
caps:
categorymappings:
- {id: 41, cat: Movies, desc: "Movie/Packs"}
- {id: 4, cat: Movies/BluRay, desc: "4k/Blueray"}
- {id: 5, cat: Movies/UHD, desc: "4k/Movie"}
- {id: 1, cat: PC/0day, desc: "Apps/0Day"}
- {id: 2, cat: PC/Mac, desc: "Apps/Mac"}
- {id: 3, cat: PC, desc: "Apps/Pc"}
- {id: 37, cat: Audio/Audiobook, desc: "Audio/Books"}
- {id: 38, cat: Movies/SD, desc: "Cam/Movies"}
- {id: 36, cat: Books/EBook, desc: "Ebook"}
- {id: 25, cat: TV/Anime, desc: "Episodes/Anime"}
- {id: 26, cat: TV, desc: "Episodes/Classic"}
- {id: 27, cat: TV/Foreign, desc: "Episodes/Foreign"}
- {id: 28, cat: TV/HD, desc: "Episodes/HD"}
- {id: 24, cat: TV, desc: "Episodes/Packs"}
- {id: 29, cat: TV/SD, desc: "Episodes/SD"}
- {id: 30, cat: TV/Sport, desc: "Episodes/Sports"}
- {id: 31, cat: TV/WEB-DL, desc: "Episodes/WebRip"}
- {id: 14, cat: Console/Other, desc: "Game/Dreamcast"}
- {id: 15, cat: PC/Games, desc: "Game/Pc"}
- {id: 16, cat: Console/PSP, desc: "Game/Ps1"}
- {id: 17, cat: Console/PSP, desc: "Game/Ps2"}
- {id: 18, cat: Console/PS3, desc: "Game/Ps3"}
- {id: 19, cat: Console/PSP, desc: "Game/PsP"}
- {id: 20, cat: Console/Wii, desc: "Game/Wii"}
- {id: 21, cat: Console/XBox, desc: "Game/xbox"}
- {id: 23, cat: Console/NDS, desc: "Game/Nintendo"}
- {id: 22, cat: Console/PS4, desc: "Game/Ps4"}
- {id: 6, cat: Movies, desc: "Movie/Animation"}
- {id: 39, cat: Movies, desc: "Movie/Classic"}
- {id: 7, cat: Movies/3D, desc: "Movies/3D"}
- {id: 8, cat: TV/Anime, desc: "Movies/Anime"}
- {id: 13, cat: Movies/DVD, desc: "Movies/Dvd/R"}
- {id: 9, cat: Movies/HD, desc: "Movies/HD"}
- {id: 10, cat: Movies, desc: "Movies/Remux"}
- {id: 12, cat: Movies/SD, desc: "Movies/SD"}
- {id: 11, cat: Movies/WEB-DL, desc: "Movies/Webrip"}
- {id: 35, cat: Audio/Lossless, desc: "Music/Flac"}
- {id: 32, cat: Audio/MP3, desc: "Music/MP3"}
- {id: 33, cat: Audio, desc: "Music/Pack"}
- {id: 34, cat: Audio/Video, desc: "Music/Video"}
- {id: 39, cat: Audio/Audiobook, desc: "Abook: Abook"}
- {id: 1, cat: PC/0day, desc: "Application: 0-Day"}
- {id: 2, cat: PC, desc: "Application: Pc"}
- {id: 3, cat: PC/Mac, desc: "Application: Mac"}
- {id: 38, cat: Books/EBook, desc: "Ebooks: Ebook"}
- {id: 32, cat: TV/Anime, desc: "Episodes: Anime"}
- {id: 33, cat: TV, desc: "Episodes: Classic"}
- {id: 34, cat: TV/Foreign, desc: "Episodes: Foreign"}
- {id: 35, cat: TV/HD, desc: "Episodes: TvHD"}
- {id: 36, cat: TV/SD, desc: "Episodes: TvSD"}
- {id: 37, cat: TV/Sport, desc: "Episodes: TVsports"}
- {id: 22, cat: PC/Games, desc: "Games: Pc"}
- {id: 23, cat: Console/PS4, desc: "Games: Ps4"}
- {id: 24, cat: Console/PS3, desc: "Games: Ps3"}
- {id: 25, cat: Console/PSP, desc: "Games: Ps1"}
- {id: 26, cat: Console/PSP, desc: "Games: Ps2"}
- {id: 27, cat: Console/PSP, desc: "Games: PsP"}
- {id: 28, cat: Console/XBox, desc: "Games: xbox"}
- {id: 29, cat: Console/Wii, desc: "Games: Wii"}
- {id: 30, cat: Console/NDS, desc: "Games: Nintendo"}
- {id: 31, cat: Console/Other, desc: "Games: Dreamcast"}
- {id: 4, cat: Movies/HD, desc: "Movies: 1080P"}
- {id: 5, cat: TV/Anime, desc: "Movies: Anime"}
- {id: 6, cat: Movies/DVD, desc: "Movies: DvdR"}
- {id: 7, cat: Movies/SD, desc: "Movies: Camer"}
- {id: 8, cat: Movies/3D, desc: "Movies: 3D"}
- {id: 9, cat: Movies/WEB-DL, desc: "Movies: WEBRip"}
- {id: 10, cat: XXX, desc: "Movies: XxX"}
- {id: 11, cat: Movies/UHD, desc: "Movies: Real-4K"}
- {id: 12, cat: Movies, desc: "Movies: Classic"}
- {id: 13, cat: Movies/Foreign, desc: "Movies: Foreign"}
- {id: 14, cat: Movies, desc: "Movies: Remux"}
- {id: 15, cat: Movies/HD, desc: "Movies: HD"}
- {id: 16, cat: Movies/SD, desc: "Movies: SD"}
- {id: 17, cat: Movies, desc: "Movies: Packs"}
- {id: 18, cat: Movies, desc: "Movies: Animation"}
- {id: 19, cat: Audio, desc: "Music: Audio"}
- {id: 20, cat: Audio, desc: "Music: Packs"}
- {id: 21, cat: Audio/Video, desc: "Music: Video"}
modes:
search: [q]
@@ -66,77 +65,115 @@ settings:
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: id
options:
id: created
seeders: seeders
size: size
name: title
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login:
path: takelogin.php
path: account-login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
returnto: /
# login errors return a 0 byte response followed by a redirect to the first time login page
error:
- selector: div.my_block:contains("Access Denied")
test:
path: /
selector: a[href$="logout.php"]
path: index.php
selector: a[href="account-logout.php"]
download:
before:
path: thanks.php
method: post
inputs:
torrent: "{{ .DownloadUri.Query.id }}"
selectors:
- selector: a[href^="download.php/"]
- selector: a[href^="download.php?id="]
attribute: href
search:
# https://hidden-palace.xyz/browse.php?search=&c1=1&c2=1&c3=1&incldead=1
# https://hidden-palace.xyz/torrents.php?search=&cat=0&incldead=1&freeleech=0&lang=0
paths:
- path: browse.php
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
cat: 0
# 0 active, 1 incldead, 2 onlydead
incldead: 1
# does not support sorting, imdbid searching or display imdbid links.
# 0 all, 1 notfree, 2 onlyfree
freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
# 0 all, 1 English, 2 etc...
lang: 0
sort: "{{ .Config.sort }}"
order: "{{ .Config.type }}"
# does not support imdbid searching or display imdbid links.
keywordsfilters:
- name: re_replace
args: ["(\\w+)", " +$1"] # prepend + to each word
rows:
selector: tr.browse
filters:
- name: andmatch
selector: tr.t-row
fields:
category:
selector: td a[href^="browse.php?cat="]
selector: td a[href^="torrents.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: td a[href^="details.php?id="]
selector: td a[href^="torrents-details.php?id="]
details:
selector: td a[href^="details.php?id="]
selector: td a[href^="torrents-details.php?id="]
attribute: href
download:
selector: td a[href^="details.php?id="]
selector: td a[href^="torrents-details.php?id="]
attribute: href
poster:
selector: td a[href^="details.php?id="]
attribute: onmouseover
selector: td a[href^="torrents-details.php?id="]
attribute: onMouseover
filters:
- name: regexp
args: "img\\ssrc=\\\\'(http.+?)\\\\'"
files:
selector: td:nth-child(3)
- name: replace
args: ["themes/default/images/nocover.jpg", ""]
date:
selector: td:nth-child(5)
selector: td a[href^="torrents-details.php?id="]
attribute: onmouseover
filters:
- name: regexp
args: "Date\\sAdded\\s:(\\d{2}-\\d{2}-\\d{4})"
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
args: "02-01-2006 -07:00"
size:
selector: td:nth-child(6)
selector: td:nth-child(5)
grabs:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
seeders:
selector: td:nth-child(6)
leechers:
selector: td:nth-child(9)
selector: td:nth-child(7)
downloadvolumefactor:
text: 1
uploadvolumefactor:
@@ -148,4 +185,4 @@ search:
minimumseedtime:
# 1 day (as seconds = 24 x 60 x 60)
text: 86400
# FMEDition
# FMEDition 3 (TorrentTrader)
+3
View File
@@ -99,6 +99,7 @@ login:
search:
paths:
# http://ztracker.cc/browse_old.php?keywords=&search_type=t_both&cat=0&ts_type=1
- path: browse_old.php
keywordsfilters:
- name: re_replace
@@ -108,6 +109,8 @@ search:
keywords: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# t_name, t_description, t_both, t_uploader
search_type: "{{ if .Query.IMDBID }}t_description{{ else }}t_name{{ end }}"
# 0 active, 1 both, 2 inactive, 3 free, 19 bluray, 4 silver, 10 doubleup, 5 today, 6 yesterday, 7 week, 8 month, 9 last ten, external
ts_type: 1
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
# does not return imdb link in results
@@ -1,22 +1,23 @@
---
id: uhd-heaven
name: UHD-HEAVEN
description: "UHD-HEAVEN is a Private Torrent Tracker for UHD MOVIES / TV"
id: skipthetrailers
name: SkipTheTrailers
description: "SkipTheTrailers (STT) is a Private Torrent Tracker for MOVIES"
language: en-US
type: private
encoding: UTF-8
links:
- https://uhd-heaven.xyz/
- https://skipthetrailers.xyz/
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid, tvdbid]
movie-search: [q, imdbid, tmdbid]
music-search: [q]
book-search: [q]
settings:
- name: apikey
@@ -25,7 +26,7 @@ settings:
- name: info_key
type: info
label: About your API key
default: "Find or Generate a new API Token by accessing your <a href=\"https://uhd-heaven.xyz/\" target =_blank>UHD-HEAVEN</a> account <i>My Security</i> page and clicking on the <b>API Token</b> tab."
default: "Find or Generate a new API Token by accessing your <a href=\"https://skipthetrailers.xyz/\" target =_blank>SkipTheTrailers</a> account <i>My Security</i> page and clicking on the <b>API Token</b> tab."
- name: freeleech
type: checkbox
label: Search freeleech only
@@ -75,6 +76,10 @@ search:
perPage: 100
page: 1
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows:
selector: data
attribute: attributes
@@ -130,10 +135,9 @@ search:
case:
0: 1 # normal
1: 2 # double
# global MR is 0.4 but torrents must be seeded for 3 days regardless of ratio
# minimumratio:
# text: 0.4
minimumratio:
text: 1.0
minimumseedtime:
# 7 days (as seconds = 7 x 24 x 60 x 60)
text: 604800
# json UNIT3D 6.0.0
# 7 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# json UNIT3D 6.0.4
+25 -9
View File
@@ -88,10 +88,24 @@ search:
paths:
# https://hdinnovations.github.io/UNIT3D-Community-Edition-Docs/api_endpoints.html
# 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 }}"
- path: "/api/torrents/filter"
response:
type: json
inputs:
# if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6
api_token: "{{ .Config.apikey }}"
name: "{{ .Keywords }}"
$raw: "{{ if .Query.Season }}&seasonNumber={{ .Query.Season }}{{ else }}{{ end }}{{ if .Query.Ep }}&episodeNumber={{ .Query.Ep }}{{ else }}{{ 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 }}{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
sortField: "{{ .Config.sort }}"
sortDirection: "{{ .Config.type }}"
perPage: 100
page: 1
keywordsfilters:
- name: re_replace
args: ["\\.", " "]
rows:
selector: data
attribute: attributes
@@ -124,8 +138,6 @@ search:
selector: details_link
download:
selector: download_link
size:
selector: size
magnet:
selector: magnet_link
optional: true
@@ -134,8 +146,6 @@ search:
filters:
- name: replace
args: ["https://via.placeholder.com/90x135", ""]
- name: replace
args: ["https://via.placeholder.com/400x600", ""]
imdbid:
selector: imdb_id
tmdbid:
@@ -153,12 +163,18 @@ search:
date:
# 2021-10-18T00:34:50.000000Z"
selector: created_at
size:
selector: size
downloadvolumefactor:
# api returns 0=false, 1=true
# api returns 0%, 25%, 50%, 75%, 100%
selector: freeleech
case:
0: 1 # not free
1: 0 # freeleech
0%: 1 # not free
25%: 0.75
50%: 0.5
75%: 0.25
100%: 0 # freeleech
"*": 0 # catch errors
uploadvolumefactor:
# api returns 0=false, 1=true
selector: double_upload
@@ -168,4 +184,4 @@ search:
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# json UNIT3D 5.3.0
# json UNIT3D 6.0.4