diff --git a/definitions/v10/file-tracker.yml b/definitions/v10/file-tracker.yml
index 447eb67a0..2b0e19846 100644
--- a/definitions/v10/file-tracker.yml
+++ b/definitions/v10/file-tracker.yml
@@ -11,14 +11,12 @@ links:
caps:
categorymappings:
# Эксклюзив
- # Exclusive
- {id: 387, cat: Movies/DVD, desc: " |- Отечественные фильмы DVD Master's"}
- {id: 386, cat: Movies/DVD, desc: " |- Зарубежные фильмы DVD Master's"}
- {id: 390, cat: TV/SD, desc: " |- Сериалы DVD Master's"}
- {id: 388, cat: Movies/DVD, desc: " |- Мультфильмы DVD Master's"}
- {id: 601, cat: TV/Anime, desc: " |- Мультсериалы DVD Master's"}
# Кино, видео, мультипликация и ТВ
- # Film, video, animation and TV
- {id: 1002, cat: Movies, desc: " |- Зарубежные фильмы , мультфильмы [HD/UHD]"}
- {id: 987, cat: Movies, desc: " |- Зарубежные фильмы , мультфильмы [SD]"}
- {id: 1003, cat: Movies, desc: " |- Отечественные фильмы , мультфильмы [HD/UHD]"}
@@ -178,7 +176,6 @@ caps:
- {id: 304, cat: TV/Anime, desc: " |- Аниме (озвучка)"}
- {id: 303, cat: TV/Anime, desc: " |- Аниме (RAW)"}
# Игры
- # Games
- {id: 471, cat: Console, desc: " |- Раздачи игр от R.G. FTN Gaming RePack"}
- {id: 19, cat: Console, desc: " |- Новинки игр"}
- {id: 99, cat: Console, desc: " |- Demo, Alpha, Beta версии"}
@@ -215,7 +212,6 @@ caps:
- {id: 662, cat: Console, desc: " |- Софт для консолей"}
- {id: 116, cat: Console, desc: " |- Портативные и Консольные (Игры)"}
# ПО для Windows
- # Software for Windows
- {id: 529, cat: PC/0day, desc: " |- Информация и диагностика"}
- {id: 518, cat: PC/0day, desc: " |- Системные утилиты"}
- {id: 516, cat: PC/0day, desc: " |- Безопасность: Защита информации. Антивирусы/файерволы"}
@@ -267,7 +263,6 @@ caps:
- {id: 960, cat: PC/0day, desc: " |- Вспомогательный софт для релизера"}
- {id: 961, cat: PC/0day, desc: " |- Разное"}
# Операционные системы и программирование
- # Operating systems and programming
- {id: 972, cat: PC, desc: " |- Windows 10 / 11 (Оригинальные версии)"}
- {id: 909, cat: PC, desc: " |- Windows 8 / 8.1 (Оригинальные версии)"}
- {id: 822, cat: PC, desc: " |- Windows 7 (Оригинальные версии)"}
@@ -303,7 +298,6 @@ caps:
- {id: 368, cat: Other, desc: " |- Компоненты для сред программирования"}
- {id: 367, cat: Other, desc: " |- Ищу и предлагаю (Веб-разработка и программирование)"}
# iPhone, iPod, iPod Touch, iPad, мобильные телефоны . Android и КПК
- # iPhone, iPod, iPod Touch, iPad, mobile phones.
- {id: 430, cat: PC/Mobile-iOS, desc: " |- База знаний"}
- {id: 967, cat: PC/Mobile-iOS, desc: " |- Прошивки и ОС"}
- {id: 426, cat: PC/Mobile-iOS, desc: " |- Программы"}
@@ -313,7 +307,6 @@ caps:
- {id: 175, cat: PC/Mobile-iOS, desc: " |- Приложения"}
- {id: 174, cat: PC/Mobile-iOS, desc: " |- Игры"}
# Музыка
- # Music
- {id: 939, cat: Audio/Lossless, desc: " |- Дискографии в Lossless"}
- {id: 948, cat: Audio/MP3, desc: " |- Дискографии в MP3"}
- {id: 129, cat: Audio, desc: " |- Многоканальная музыка (Электронная музыка)"}
@@ -415,7 +408,6 @@ caps:
- {id: 290, cat: Audio, desc: " |- К фильмам"}
- {id: 291, cat: Audio, desc: " |- К сериалам"}
# Литература и обучение
- # Literature and learning
- {id: 61, cat: Books, desc: " |- Художественная литература"}
- {id: 664, cat: Books, desc: " |- Художественная литература для детей"}
- {id: 467, cat: Books, desc: " |- Художественная литература на иностранных языках"}
@@ -435,11 +427,13 @@ caps:
- {id: 586, cat: Books, desc: " |- Авто - Тюнинг, чиптюнинг, настройка, отделка и укращения"}
- {id: 672, cat: Books, desc: " |- Литература по медицине"}
- {id: 793, cat: Books, desc: "Журналы научно-прикладные и познавательно-образовательные"}
+ - {id: 708, cat: PC, desc: "ЖИнтерактивный и компьтерный материал"}
- {id: 875, cat: PC, desc: " |- Интерактивные компьютерные диски для хобби"}
- {id: 583, cat: PC, desc: " |- Интерактивные справочники и каталоги для авто/мото транспорт.."}
- {id: 465, cat: PC, desc: " |- Интерактивные и компьютерные диски для обучения ин. языкам"}
- {id: 674, cat: PC, desc: " |- Интерактивные и компьютерные диски по медицине"}
- {id: 710, cat: PC, desc: " |- Прочие материалы для детей и родителей"}
+ - {id: 888, cat: Books, desc: "Литература разных направлений"}
- {id: 897, cat: Books, desc: " |- Прочее"}
- {id: 896, cat: Books, desc: " |- Автомобили"}
- {id: 895, cat: Books, desc: " |- Домашним мастерам"}
@@ -461,10 +455,10 @@ caps:
- {id: 816, cat: Audio/Audiobook, desc: " |- Современная литература"}
- {id: 190, cat: Audio/Audiobook, desc: " |- Аудио книги для детей"}
- {id: 191, cat: Audio/Audiobook, desc: " |- Обучающие аудиокниги и аудиоупражнения для детей"}
+ - {id: 749, cat: Audio, desc: "Аудио концерты, спектакли, пьесы"}
- {id: 687, cat: Audio, desc: " |- Аудиоспектакли и литературные чтения"}
- {id: 751, cat: Audio, desc: " |- Аудио юмористические концерты (выступления)"}
# Эротика
- # Erotica
- {id: 963, cat: XXX, desc: "Эротические художественные фильмы"}
- {id: 964, cat: XXX, desc: "Эротические документальные фильмы"}
- {id: 178, cat: XXX, desc: "Русская эротика"}
@@ -481,7 +475,7 @@ caps:
- {id: 813, cat: XXX, desc: " |- 3D | Иностранная эротика"}
- {id: 820, cat: XXX, desc: "Литература"}
# Служебный раздел
- # Service section
+ - {id: 912, cat: Other, desc: "Нарушение правил оформления"}
- {id: 57, cat: Other, desc: "Временный склад (TEMP)"}
- {id: 433, cat: Other, desc: "Архив раздач"}
diff --git a/definitions/v10/rudub.yml b/definitions/v10/rudub.yml
index b133f0e43..702666557 100644
--- a/definitions/v10/rudub.yml
+++ b/definitions/v10/rudub.yml
@@ -9,9 +9,8 @@ type: semi-private
encoding: windows-1251
followredirect: true
links:
- - https://26december.rudub.online/
+ - https://27december.rudub.online/
legacylinks:
- - https://26november.rudub.online/
- https://27november.rudub.online/
- https://28november.rudub.online/
- https://29november.rudub.online/
@@ -41,6 +40,7 @@ legacylinks:
- https://23december.rudub.online/
- https://24december.rudub.online/
- https://25december.rudub.online/
+ - https://26december.rudub.online/
caps:
categorymappings:
diff --git a/definitions/v10/yuscene-api.yml b/definitions/v10/yuscene-api.yml
new file mode 100644
index 000000000..9e41bedd8
--- /dev/null
+++ b/definitions/v10/yuscene-api.yml
@@ -0,0 +1,194 @@
+---
+id: yuscene-api
+name: YUSCENE (API)
+description: "YUSCENE is a Private Tracker for MOVIES / TV"
+language: en-US
+type: private
+encoding: UTF-8
+links:
+ - https://yu-scene.net/
+
+caps:
+ categorymappings:
+ - {id: 1, cat: Movies, desc: "Movies"}
+ - {id: 2, cat: TV, desc: "TV"}
+ - {id: 7, cat: Console, desc: "Game"}
+ - {id: 8, cat: Audio, desc: "Music"}
+ - {id: 9, cat: PC, desc: "Application"}
+ - {id: 10, cat: Audio/Video, desc: "Music Video"}
+
+ modes:
+ search: [q]
+ tv-search: [q, season, ep, imdbid, tvdbid, tmdbid]
+ movie-search: [q, imdbid, tmdbid]
+ music-search: [q]
+
+settings:
+ - name: apikey
+ type: text
+ label: APIKey
+ - name: info_key
+ type: info
+ label: About your API key
+ default: "Find or Generate a new API Token by accessing your YUSCENE account My Settings page and clicking on the API Key tab."
+ - name: freeleech
+ type: checkbox
+ label: Search freeleech only
+ default: false
+ - name: single_file_release_use_filename
+ type: checkbox
+ label: Use filename as title for single file releases
+ default: true
+ - name: sort
+ type: select
+ label: Sort requested from site
+ default: created_at
+ options:
+ created_at: created
+ seeders: seeders
+ size: size
+ name: title
+ - name: type
+ type: select
+ label: Order requested from site
+ default: desc
+ options:
+ desc: desc
+ asc: asc
+ - name: info_activity
+ type: info
+ label: Account Inactivity
+ default: "You must log in once every 60 days or seed at least 1 torrent to not get disabled."
+ - name: info_flaresolverr
+ type: info_flaresolverr
+
+login:
+ path: /api/torrents
+ method: get
+ error:
+ - selector: a[href*="/login"]
+ message:
+ text: "The API key was not accepted by {{ .Config.sitelink }}."
+ - selector: :root:contains("Account is Banned")
+
+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"
+ response:
+ type: json
+
+ headers:
+ Authorization: ["Bearer {{ .Config.apikey }}"]
+
+ 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
+ $raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
+ name: "{{ .Keywords }}"
+ seasonNumber: "{{ .Query.Season }}"
+ episodeNumber: "{{ .Query.Ep }}"
+ imdbId: "{{ .Query.IMDBIDShort }}"
+ tmdbId: "{{ .Query.TMDBID }}"
+ tvdbId: "{{ .Query.TVDBID }}"
+ "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
+ sortField: "{{ .Config.sort }}"
+ sortDirection: "{{ .Config.type }}"
+ perPage: 100
+
+ keywordsfilters:
+ - name: re_replace
+ args: ["\\.", " "]
+
+ rows:
+ selector: data
+ attribute: attributes
+
+ fields:
+ category:
+ selector: category_id
+ title_optional:
+ selector: name
+ title_filename:
+ selector: "files[0].name"
+ optional: true
+ files:
+ selector: num_file
+ title:
+ text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
+ details:
+ selector: details_link
+ download:
+ selector: download_link
+ infohash:
+ selector: info_hash
+ poster:
+ selector: meta.poster
+ filters:
+ - name: replace
+ args: ["https://via.placeholder.com/90x135", ""]
+ imdbid:
+ selector: imdb_id
+ tmdbid:
+ selector: tmdb_id
+ tvdbid:
+ selector: tvdb_id
+ genre:
+ selector: meta.genres
+ filters:
+ - name: re_replace
+ args: ["(?i)(Science Fiction)", "Science_Fiction"]
+ - name: re_replace
+ args: ["(?i)(TV Movie)", "TV_Movie"]
+ - name: replace
+ args: [" & ", "_&_"]
+ description:
+ text: "{{ .Result.genre }}"
+ seeders:
+ selector: seeders
+ leechers:
+ selector: leechers
+ grabs:
+ selector: times_completed
+ date:
+ # "created_at": "2021-10-18T00:34:50.000000Z" is returned by Newtonsoft.Json.Linq as 18/10/2021 00:34:50
+ selector: created_at
+ filters:
+ - name: append
+ args: " +00:00" # GMT
+ - name: dateparse
+ args: "MM/dd/yyyy HH:mm:ss zzz"
+ size:
+ selector: size
+ _featured:
+ selector: featured
+ case:
+ False: "{{ .False }}"
+ True: "{{ .True }}"
+ downloadvolumefactor_freeleech:
+ # api returns 0%, 25%, 50%, 75%, 100%
+ selector: freeleech
+ case:
+ 0%: 1 # not free
+ 25%: 0.75
+ 50%: 0.5
+ 75%: 0.25
+ 100%: 0 # freeleech
+ "*": 0 # catch errors
+ downloadvolumefactor:
+ text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}"
+ uploadvolumefactor_double_upload:
+ # api returns False, True
+ selector: double_upload
+ case:
+ False: 1 # normal
+ True: 2 # double
+ uploadvolumefactor:
+ text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}"
+# global MR is 0.7 but torrents must be seeded for 3 days regardless of ratio
+# minimumratio:
+# text: 0.7
+ minimumseedtime:
+ # 3 days (as seconds = 3 x 24 x 60 x 60)
+ text: 259200
+# json UNIT3D 8.3.4