2021-10-21 17:35:28 +00:00
|
|
|
---
|
|
|
|
id: yts
|
|
|
|
name: YTS
|
|
|
|
description: "YTS is a Public torrent site specialising in HD movies of small size"
|
|
|
|
type: public
|
2023-02-19 17:15:42 +00:00
|
|
|
language: en-US
|
2021-10-21 17:35:28 +00:00
|
|
|
encoding: UTF-8
|
|
|
|
requestDelay: 2.5 # 2.5 requests per second (2 causes problems)
|
|
|
|
links:
|
2021-11-03 13:42:34 +00:00
|
|
|
# dont forget to update the details, download and poster replace args
|
2021-10-21 17:35:28 +00:00
|
|
|
- https://yts.mx/
|
2023-05-07 09:47:03 +00:00
|
|
|
- https://yts.unblockit.asia/
|
2021-10-21 17:35:28 +00:00
|
|
|
- https://yts.unblockninja.com/
|
2023-05-02 03:15:01 +00:00
|
|
|
- https://yts.mrunblock.life/
|
2023-05-02 03:26:10 +00:00
|
|
|
- https://yts.nocensor.click/
|
2021-10-21 17:35:28 +00:00
|
|
|
legacylinks:
|
2022-10-19 21:35:43 +00:00
|
|
|
- https://yts.ag/
|
|
|
|
- https://yts.am/
|
|
|
|
- https://yts.lt/
|
2022-03-08 12:56:21 +00:00
|
|
|
- https://yts.unblockit.cam/
|
2022-03-29 01:47:54 +00:00
|
|
|
- https://yts.nocensor.biz/
|
2022-04-15 21:29:56 +00:00
|
|
|
- https://yts.unblockit.day/
|
2022-05-07 20:21:01 +00:00
|
|
|
- https://yts.unblockit.llc/
|
2022-06-07 19:34:13 +00:00
|
|
|
- https://yts.unblockit.blue/
|
2022-07-07 19:22:52 +00:00
|
|
|
- https://yts.unblockit.name/
|
2022-07-18 03:50:41 +00:00
|
|
|
- https://yts.nocensor.sbs/
|
2022-08-07 09:06:25 +00:00
|
|
|
- https://yts.unblockit.ist/
|
2022-09-07 19:10:47 +00:00
|
|
|
- https://yts.unblockit.bet/
|
2022-10-08 16:59:53 +00:00
|
|
|
- https://yts.unblockit.cat/
|
2022-11-07 17:02:52 +00:00
|
|
|
- https://yts.unblockit.nz/
|
2022-11-12 07:20:18 +00:00
|
|
|
- https://yts.nocensor.world/
|
2022-12-07 17:00:49 +00:00
|
|
|
- https://yts.unblockit.page/
|
2023-01-06 21:32:14 +00:00
|
|
|
- https://yts.unblockit.pet/
|
2023-01-15 01:26:26 +00:00
|
|
|
- https://yts.nocensor.lol/
|
2023-02-07 17:49:12 +00:00
|
|
|
- https://yts.unblockit.ink/
|
2023-02-07 19:38:59 +00:00
|
|
|
- https://yts.nocensor.art/
|
2023-03-08 07:48:19 +00:00
|
|
|
- https://yts.unblockit.bio/
|
2023-04-07 11:53:21 +00:00
|
|
|
- https://yts.unblockit.boo/
|
2023-05-02 03:15:01 +00:00
|
|
|
- https://yts.mrunblock.guru/
|
2023-05-07 09:47:03 +00:00
|
|
|
- https://yts.unblockit.click/
|
2021-10-21 17:35:28 +00:00
|
|
|
|
|
|
|
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
|
2022-02-07 20:54:17 +00:00
|
|
|
|
2021-10-21 17:35:28 +00:00
|
|
|
inputs:
|
|
|
|
# ignore ' (e.g. search for america's Next Top Model)
|
2023-02-19 17:15:42 +00:00
|
|
|
query_term: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
2021-10-21 17:35:28 +00:00
|
|
|
# without this the API sometimes returns nothing
|
|
|
|
limit: 50
|
|
|
|
sort: date_added
|
2023-02-19 17:15:42 +00:00
|
|
|
keywordsfilters:
|
|
|
|
- name: re_replace
|
|
|
|
args: ["[^\\w]+", " "]
|
2021-10-21 17:35:28 +00:00
|
|
|
|
|
|
|
rows:
|
|
|
|
selector: data.movies
|
2022-02-07 20:54:17 +00:00
|
|
|
attribute: torrents
|
|
|
|
multiple: true
|
2022-02-26 19:23:37 +00:00
|
|
|
# bug at YTS can return movie_count > 0 and no movie torrents #12598
|
2023-02-28 19:42:48 +00:00
|
|
|
missingAttributeEqualsNoResults: true
|
2021-10-21 17:35:28 +00:00
|
|
|
count:
|
|
|
|
selector: data.movie_count
|
|
|
|
|
|
|
|
fields:
|
2022-07-19 07:18:10 +00:00
|
|
|
_quality:
|
2021-10-21 17:35:28 +00:00
|
|
|
selector: quality
|
|
|
|
category:
|
|
|
|
selector: quality
|
|
|
|
case:
|
|
|
|
"720p": 45
|
|
|
|
"1080p": 44
|
|
|
|
"2160p": 46
|
|
|
|
"3D": 47
|
|
|
|
"*": 45
|
2022-07-19 07:18:10 +00:00
|
|
|
_type:
|
2021-10-21 17:35:28 +00:00
|
|
|
selector: type
|
2022-07-21 04:11:40 +00:00
|
|
|
year:
|
2021-10-21 17:35:28 +00:00
|
|
|
selector: ..year
|
2023-02-19 17:15:42 +00:00
|
|
|
title_default:
|
2021-10-21 17:35:28 +00:00
|
|
|
selector: ..title
|
2023-02-19 17:15:42 +00:00
|
|
|
filters:
|
|
|
|
- name: append
|
|
|
|
args: " ({{ .Result.year }})"
|
2023-03-20 19:18:43 +00:00
|
|
|
title:
|
2023-02-19 17:15:42 +00:00
|
|
|
selector: ..title_long
|
|
|
|
optional: true
|
2023-03-20 19:18:43 +00:00
|
|
|
default: "{{ .Result.title_default }}"
|
2021-10-21 17:35:28 +00:00
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: [":", ""]
|
|
|
|
# append type: BRRip or WEBRip, resolves #3558 via #4577
|
|
|
|
- name: append
|
2023-02-19 17:15:42 +00:00
|
|
|
args: " {{ .Result._quality }} {{ if eq .Result._type \"web\" }}WEBRip{{ else }}BRRip{{ end }} -YTS"
|
2021-10-21 17:35:28 +00:00
|
|
|
details:
|
|
|
|
selector: ..url
|
2021-11-01 19:46:20 +00:00
|
|
|
filters:
|
2023-02-19 17:15:42 +00:00
|
|
|
- name: re_replace
|
|
|
|
args: ["^https?:\\/\\/yts\\.mx\\/", "{{ .Config.sitelink }}"] # fix for 12494
|
2021-10-21 17:35:28 +00:00
|
|
|
download:
|
|
|
|
selector: url
|
2021-11-01 19:46:20 +00:00
|
|
|
filters:
|
2023-02-19 17:15:42 +00:00
|
|
|
- name: re_replace
|
|
|
|
args: ["^https?:\\/\\/yts\\.mx\\/", "{{ .Config.sitelink }}"] # fix for 12494
|
2021-10-21 17:35:28 +00:00
|
|
|
infohash:
|
|
|
|
selector: hash
|
|
|
|
poster:
|
|
|
|
selector: ..large_cover_image
|
2021-11-01 19:46:20 +00:00
|
|
|
filters:
|
2023-02-19 17:15:42 +00:00
|
|
|
- name: re_replace
|
|
|
|
args: ["^https?:\\/\\/yts\\.mx\\/", "{{ .Config.sitelink }}"] # fix for 12494
|
2021-10-24 20:30:33 +00:00
|
|
|
imdbid:
|
2021-10-21 17:35:28 +00:00
|
|
|
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
|