2020-03-03 16:28:26 +00:00
---
2020-05-11 19:59:28 +00:00
id : uniongang
2020-05-10 20:05:19 +00:00
name : UnionGang
2023-04-12 04:50:52 +00:00
description : "UnionGang is a RUSSIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
2021-09-07 23:09:51 +00:00
language : ru-RU
2020-05-10 20:05:19 +00:00
type : private
2024-03-24 23:43:25 +00:00
encoding : UTF-8
2020-05-10 20:05:19 +00:00
links :
2024-03-24 23:43:25 +00:00
- https://www.uniongang.net/
2022-07-25 05:33:57 +00:00
legacylinks :
2024-03-24 23:43:25 +00:00
- http://www.uniongang.net/
2019-05-21 22:02:22 +00:00
2020-05-10 20:05:19 +00:00
caps :
categorymappings :
2024-03-24 23:43:25 +00:00
- {id: 1, cat: Movies, desc : "Movies / HDRip / BDRip" }
- {id: 21, cat: Movies/WEB-DL, desc : "Movies WEB-DL / WEB-DLRip" }
2020-05-10 20:05:19 +00:00
- {id: 2, cat: Movies/HD, desc : "Movies x264" }
2024-03-24 23:43:25 +00:00
- {id: 5, cat: Movies/HD, desc : "Movies BDRemux / BDRip1080p" }
2020-05-10 20:05:19 +00:00
- {id: 6, cat: TV, desc : "TV Сериал" }
- {id: 7, cat: TV/Documentary, desc : "TV Документальный" }
- {id: 9, cat: TV, desc : "Мультфильм" }
2024-03-24 23:43:25 +00:00
- {id: 10, cat: TV, desc : "Т В / Выпуски / Шоу" }
- {id: 11, cat: PC, desc : "Игра / PC" }
2020-05-10 20:05:19 +00:00
- {id: 13, cat: Audio, desc : "Музыка / Русская" }
- {id: 14, cat: Audio, desc : "Музыка / Зарубежная" }
2024-03-24 23:43:25 +00:00
- {id: 23, cat: Movies/UHD, desc : "Movies / 4K" }
2019-05-21 22:02:22 +00:00
2020-05-10 20:05:19 +00:00
modes :
search : [ q]
tv-search : [ q, season, ep]
movie-search : [ q]
music-search : [ q]
2019-05-21 22:02:22 +00:00
2020-05-10 20:05:19 +00:00
settings :
- name : username
type : text
label : Username
- name : password
type : password
label : Password
2023-04-12 04:50:52 +00:00
- name : stripcyrillic
2020-05-10 20:05:19 +00:00
type : checkbox
2023-04-12 04:50:52 +00:00
label : Strip Cyrillic Letters
default : false
- name : addrussiantotitle
type : checkbox
label : Add RUS to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.
2020-05-10 20:05:19 +00:00
default : false
2023-03-29 20:07:16 +00:00
- name : freeleech
type : checkbox
label : Search freeleech only
default : false
2024-03-24 23:43:25 +00:00
- name : sort
type : select
label : Sort requested from site
default : 4
options :
4 : created
7 : seeders
5 : size
1 : title
- name : type
type : select
label : Order requested from site
default : desc
options :
desc : desc
asc : asc
2019-05-21 22:02:22 +00:00
2020-05-10 20:05:19 +00:00
login :
path : takelogin.php
method : post
inputs :
username : "{{ .Config.username }}"
password : "{{ .Config.password }}"
error :
- selector : div.error
test :
path : /
selector : a[href="/logout.php"]
2019-05-21 22:02:22 +00:00
2020-05-10 20:05:19 +00:00
search :
paths :
- path : browse.php
inputs :
2024-03-24 23:43:25 +00:00
$raw : "{{ range .Categories }}cat[]={{.}}&{{end}}"
2020-05-10 20:05:19 +00:00
search : "{{ .Keywords }}"
2024-03-24 23:43:25 +00:00
shw_incl_cats : 0
# 0 default, 1 active, 1 inactive, 3 gold, 4 important, 5 unverified, 6 banned, 7 no tags, 8 my torrents, 9-31 lots of other choices
incldead : "{{ if .Config.freeleech }}3{{ else }}0{{ end }}"
sort : "{{ .Config.sort }}"
type : "{{ .Config.type }}"
# site does not support imdbid search or provide imdb links in results
2020-05-12 22:42:31 +00:00
2023-04-12 04:50:52 +00:00
keywordsfilters :
# strip season and/or ep
- name : re_replace
args : [ "(?i)\\b(?:[SE]\\d{1,4}){1,2}\\b\\s?" , "" ]
2020-05-10 20:05:19 +00:00
rows :
2024-03-24 23:43:25 +00:00
selector : table.brws.main > tbody > tr[class^="torcont"]
after : 1
2020-05-12 22:42:31 +00:00
2020-05-10 20:05:19 +00:00
fields :
2024-03-24 23:43:25 +00:00
category :
selector : a[href^="browse.php?cat="]
attribute : href
filters :
- name : querystring
args : cat
2020-05-10 20:05:19 +00:00
title :
2024-03-24 23:43:25 +00:00
selector : a[href^="details.php?id="]
2020-05-10 20:05:19 +00:00
filters :
2023-04-12 04:50:52 +00:00
# normalize to SXXEYY format
- name : re_replace
args : [ "(?i)[CС ]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)" , "S$1E$2 of $3" ]
- name : re_replace
args : [ "(?i)(\\d+(?:-\\d+)?)\\s*[CС ]езоны?.+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))?" , "S$1E$2 of $3" ]
- name : re_replace
args : [ "(?i)(\\d+(?:-\\d+)?)\\s*[CС ]езоны?.+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)" , "S$1E$2 of $3" ]
- name : re_replace
args : [ "(?i)[CС ]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))?" , "S$1E$2 of $3" ]
- name : re_replace
args : [ "(?i)[CС ]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)\\s*(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)" , "S$1E$2 of $3" ]
- name : re_replace
args : [ "(?i)[CС ]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)" , "S$1E$2" ]
- name : re_replace
args : [ "(?i)(\\d+(?:-\\d+)?)\\s*[CС ]езоны?.+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))" , "S$1E$2" ]
- name : re_replace
args : [ "(?i)[CС ]езоны?[\\s:]*(\\d+(?:-\\d+)?).+?(\\d+(?:-\\d+)?)(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))" , "S$1E$2" ]
- name : re_replace
args : [ "(?i)[CС ]езоны?[\\s:]*(\\d+(?:-\\d+)?)" , "S$1" ]
- name : re_replace
args : [ "(?i)(\\d+(?:-\\d+)?)\\s+[CС ]езоны?" , "S$1" ]
- name : re_replace
args : [ "(?i)(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)" , "E$1 of $2" ]
- name : re_replace
args : [ "(?i)(\\d+(?:-\\d+)?)\\s*из\\s*(\\w?)(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))" , "E$1 of $2" ]
2020-05-10 20:05:19 +00:00
- name : re_replace
2023-04-12 04:50:52 +00:00
args : [ "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))\\s+из\\s*(\\w?)" , "E$1 of $2" ]
- name : re_replace
args : [ "(?i)(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))[\\s:]*(\\d+(?:-\\d+)?)" , "E$1" ]
- name : re_replace
args : [ "(?i)(\\d+(?:-\\d+)?)\\s+(?:\\s*(?:[CС ]ери[ияй]|Эпизод|Выпуски?))" , "E$1" ]
- name : re_replace
args : [ "(?i)\\bР (\\d)?\\b" , "P$1" ]
- name : re_replace
args : [ "(?i)\\sо т\\s([\\w\\p{P}\\p{S}]+)\\s\\|(.+)" , "$2-$1" ]
- name : re_replace
args : [ "\\s\\|\\s(\\w{4,})$" , "-$1" ]
- name : re_replace
args : [ "(\\([\\p{IsCyrillic}\\W]+\\))|(^[\\p{IsCyrillic}\\W\\d]+\\/ )|([\\p{IsCyrillic} \\-]+,+)|([\\p{IsCyrillic}]+)" , "{{ if .Config.stripcyrillic }}{{ else }}$1$2$3$4{{ end }}" ]
- name : re_replace
args : [ "(?i)\\bHDTV[-\\s]?Rip\\b" , "HDTV" ]
- name : re_replace
args : [ "(?i)\\bSAT[-\\s]?Rip\\b" , "HDTV" ]
- name : re_replace
args : [ "(?i)\\bWEB[-\\s]?DL[-\\s]?Rip\\b" , "WEB-DL" ]
- name : re_replace
args : [ "(?i)\\bWEB\\sRip\\b" , "WEBRip" ]
- name : re_replace
args : [ "(?i)\\bWEB\\sDL\\b" , "WEB-DL" ]
- name : re_replace
args : [ "[\\[\\(\\{<«][\\s\\W]*[\\]\\)\\}>»]" , "" ]
- name : re_replace
args : [ "^[\\s&,\\.!\\?\\+\\-_\\|\\/':]+" , "" ]
- name : append
args : "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}"
2020-05-10 20:05:19 +00:00
details :
2024-03-24 23:43:25 +00:00
selector : a[href^="details.php?id="]
2020-05-10 20:05:19 +00:00
attribute : href
download :
2024-04-27 18:06:42 +00:00
selector : a[href^="download.php?id="], a[href^="magnet:?xt="]
2020-05-10 20:05:19 +00:00
attribute : href
size :
2024-04-27 18:06:42 +00:00
selector : a[href^="download.php?id="], a[href^="magnet:?xt="]
2020-05-10 20:05:19 +00:00
seeders :
2024-03-24 23:43:25 +00:00
selector : td:nth-last-child(3)
2020-05-10 20:05:19 +00:00
filters :
- name : split
2020-05-10 21:38:05 +00:00
args : [ "|" , 0 ]
2020-05-10 20:05:19 +00:00
leechers :
2024-03-24 23:43:25 +00:00
selector : td:nth-last-child(3)
2020-05-10 20:05:19 +00:00
filters :
- name : split
2020-05-10 21:38:05 +00:00
args : [ "|" , 1 ]
2024-03-24 23:43:25 +00:00
date :
2024-03-26 17:46:32 +00:00
selector : td:has(a[href^="userdetails.php?id="]) ~ td, td:has(a[href^="browse.php?gr="]) ~ td
2024-03-24 23:43:25 +00:00
remove : a
filters :
- name : re_replace
args : [ "(?i)(назад)" , "ago" ]
- name : re_replace
args : [ "(?i)(секунду|секунды|секунд)" , "seconds" ]
- name : re_replace
args : [ "(?i)(минуты|минуту|минут)" , "minutes" ]
- name : re_replace
args : [ "(?i)(часов|часа|час)" , "hours" ]
- name : re_replace
args : [ "(?i)(день|дней|дня)" , "days" ]
- name : re_replace
args : [ "(?i)(неделю|недели|недель)" , "weeks" ]
- name : re_replace
args : [ "(?i)(месяц|месяца|месяцев)" , "months" ]
- name : re_replace
args : [ "(?i)(года|год|лет)" , "years" ]
- name : timeago
2020-05-10 20:05:19 +00:00
downloadvolumefactor :
case :
2024-03-24 23:43:25 +00:00
img[src="/pic/freedownload.gif"]: 0
2020-05-12 22:42:31 +00:00
"*": 1
2020-05-10 20:05:19 +00:00
uploadvolumefactor :
2020-05-12 22:42:31 +00:00
text : 1
2020-11-26 18:20:19 +00:00
minimumratio :
text : 0.3
2024-03-24 23:43:25 +00:00
# Engine n/a