mirror of
https://github.com/Prowlarr/Indexers.git
synced 2026-05-01 05:41:13 +01:00
jackett indexers as of dde4263061cd636aaa47eee66281ec97600cf9a3 jackett indexers as of 9d46a01f044629b4ad0e04b27e9cdc7a5dfd89a6 jackett indexers as of 4e591e80a9635cd3fb3fa03fcce465416a058716 jackett indexers as of 78a843bb2f57c1099bfc0149f3ece7b349fd6c95 jackett indexers as of 6c6110430791e099dfeac8eef80365c43c0e494c jackett indexers as of 209f9d511a7d72fa561a5d1c7af47496d8e19089
133 lines
3.5 KiB
YAML
133 lines
3.5 KiB
YAML
---
|
|
id: yts
|
|
name: YTS
|
|
description: "YTS is a Public torrent site specialising in HD movies of small size"
|
|
language: en-US
|
|
type: public
|
|
encoding: UTF-8
|
|
requestDelay: 2.5 # 2.5 requests per second (2 causes problems)
|
|
links:
|
|
# dont forget to update the details, download and poster replace args
|
|
- https://yts.mx/
|
|
- https://yts.unblockit.tv/
|
|
- https://yts.unblockninja.com/
|
|
- https://yts.nocensor.biz/
|
|
legacylinks:
|
|
- https://yts.ag/
|
|
- https://yts.am/
|
|
- https://yts.lt/
|
|
- https://yts.unblockit.dev/
|
|
- https://yts.root.yt/
|
|
- https://yts.unblockit.ltd/
|
|
- https://yts.unblockit.buzz/
|
|
- https://yts.unblockit.club/
|
|
- https://yts.unblockit.link/
|
|
- https://yts.unblockit.onl/
|
|
- https://yts.unblockit.uno/
|
|
- https://yts.unblockit.ch/
|
|
- https://yts.unblockit.li/
|
|
- https://yts.unblockit.ws/
|
|
- https://yts.nocensor.space/
|
|
- https://yts.nocensor.work/
|
|
- https://yts.unblockit.kim/
|
|
- https://yts.unblockit.bz/
|
|
|
|
caps:
|
|
categorymappings:
|
|
# note: the API does not support searching with categories, so these are dummy ones for torznab compatibility
|
|
# we map these newznab cats with the returned quality value in the releases routine.
|
|
- {id: 45, cat: Movies/HD, desc: "Movies/x264/720p"}
|
|
- {id: 44, cat: Movies/HD, desc: "Movies/x264/1080p"}
|
|
- {id: 46, cat: Movies/UHD, desc: "Movies/x264/2160p"}
|
|
- {id: 47, cat: Movies/3D, desc: "Movies/x264/3D"}
|
|
|
|
modes:
|
|
search: [q]
|
|
movie-search: [q, imdbid]
|
|
|
|
settings: []
|
|
|
|
search:
|
|
paths:
|
|
- path: api/v2/list_movies.json
|
|
response:
|
|
type: json
|
|
attribute: torrents
|
|
multiple: true
|
|
inputs:
|
|
# ignore ' (e.g. search for america's Next Top Model)
|
|
query_term: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ re_replace .Keywords \"[']\" \"\" }}{{ end }}"
|
|
# without this the API sometimes returns nothing
|
|
limit: 50
|
|
sort: date_added
|
|
|
|
rows:
|
|
selector: data.movies
|
|
count:
|
|
selector: data.movie_count
|
|
|
|
fields:
|
|
quality:
|
|
selector: quality
|
|
category:
|
|
selector: quality
|
|
case:
|
|
"720p": 45
|
|
"1080p": 44
|
|
"2160p": 46
|
|
"3D": 47
|
|
"*": 45
|
|
type:
|
|
selector: type
|
|
year:
|
|
selector: ..year
|
|
title:
|
|
selector: ..title
|
|
filters:
|
|
- name: replace
|
|
args: [":", ""]
|
|
- name: replace
|
|
args: [" ", "."]
|
|
# append type: BRRip or WEBRip, resolves #3558 via #4577
|
|
- name: append
|
|
args: ".{{ .Result.year }}.{{ .Result.quality }}.{{ if eq .Result.type \"web\" }}WEBRip{{ else }}BRRip{{ end }}-YTS"
|
|
sitelink_trimmed:
|
|
text: "{{ .Config.sitelink }}"
|
|
filters:
|
|
- name: replace
|
|
args: ["https://", ""]
|
|
- name: replace
|
|
args: ["/", ""]
|
|
details:
|
|
selector: ..url
|
|
filters:
|
|
- name: replace
|
|
args: ["yts.mx", "{{ .Result.sitelink_trimmed }}"] # fix for 12494
|
|
download:
|
|
selector: url
|
|
filters:
|
|
- name: replace
|
|
args: ["yts.mx", "{{ .Result.sitelink_trimmed }}"] # fix for 12494
|
|
infohash:
|
|
selector: hash
|
|
poster:
|
|
selector: ..large_cover_image
|
|
filters:
|
|
- name: replace
|
|
args: ["yts.mx", "{{ .Result.sitelink_trimmed }}"] # fix for 12494
|
|
imdbid:
|
|
selector: ..imdb_code
|
|
date:
|
|
selector: date_uploaded_unix
|
|
size:
|
|
selector: size_bytes
|
|
seeders:
|
|
selector: seeds
|
|
leechers:
|
|
selector: peers
|
|
downloadvolumefactor:
|
|
text: 0
|
|
uploadvolumefactor:
|
|
text: 1
|
|
# json api v2
|