2019-05-15 04:42:34 +00:00
---
2020-05-11 19:59:28 +00:00
id : teamhd
2020-05-10 20:05:19 +00:00
name : TeamHD
description : "TeamHD is a RUSSIAN Private Torrent Tracker for HD MOVIES / TV"
language : ru-ru
type : private
encoding : UTF-8
links :
- https://teamhd.org/
2019-05-15 04:42:34 +00:00
2020-05-10 20:05:19 +00:00
caps :
categorymappings :
- {id: 29, cat: Movies/HD, desc : "Movies Фильмы" }
- {id: 25, cat: TV/Anime, desc : "Cartoons Мультфильмы" }
- {id: 26, cat: Audio/Lossless, desc : "Hi-Res Audio" }
- {id: 27, cat: Other, desc : "Demo Демо" }
- {id: 28, cat: TV/Documentary, desc : "Documentary Документальное кино" }
- {id: 30, cat: Audio/Video, desc : "Music Video Музыкальное видео" }
- {id: 31, cat: TV/Sport, desc : "Sport Спорт" }
- {id: 32, cat: TV/HD, desc : "TV Show Т В Шоу" }
- {id: 33, cat: TV/HD, desc : "Soaps Сериалы" }
- {id: 34, cat: TV/HD, desc : "Other" }
- {id: 35, cat: Movies, desc : "Content w/o subs Контент без перевода" }
2019-05-15 04:42:34 +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-15 04:42:34 +00:00
2019-07-25 19:26:27 +00:00
# login:
# path: takelogin.php
# method: post
# inputs:
# username: "{{ .Config.username }}"
# password: "{{ .Config.password }}"
# error:
# - selector: div.error
# test:
# path: index.php
# selector: a[href="/logout.php"]
2020-03-24 07:33:46 +00:00
2020-05-10 20:05:19 +00:00
settings :
- name : cookie
type : text
label : Cookie
- name : info
type : info
label : How to get the Cookie
2020-06-04 20:37:51 +00:00
default : "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
2020-09-09 09:52:07 +00:00
- name : freeleech
type : checkbox
label : Search freeleech only
default : false
2020-05-10 20:05:19 +00:00
- name : striprussian
type : checkbox
label : Strip Russian Letters
default : false
2019-07-25 19:26:27 +00:00
2020-05-10 20:05:19 +00:00
login :
method : cookie
inputs :
cookie : "{{ .Config.cookie }}"
test :
path : index.php
selector : a[href*="/logout.php"]
2019-07-25 19:26:27 +00:00
2020-05-10 20:05:19 +00:00
search :
paths :
- path : browse
inputs :
$raw : "{{ range .Categories }}c{{.}}=1&{{end}}"
2020-09-09 09:52:07 +00:00
# replace spaces with wildcard (percent symbol) as site's default search is exact string.
search : "{{ re_replace .Keywords \"[\\s]+\" \"%\" }}"
# 0 active, 1 incldead, 2 onlydead, 3 noseeders
2020-05-10 20:05:19 +00:00
incldead : 1
2020-09-09 09:52:07 +00:00
# 0 all, 1 gold, 2 silver, 3 normal
free : "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
2020-05-10 20:05:19 +00:00
year : ""
keywordsfilters :
# remove the year from the titles as the site chokes on them during search https://github.com/Jackett/Jackett/issues/4397#issuecomment-623148789
- name : re_replace
args : [ " +(?:19|20)\\d{2} *$" , "" ]
2019-05-15 04:42:34 +00:00
2020-05-10 20:05:19 +00:00
rows :
selector : table.browse > tbody > tr
2020-03-24 07:33:46 +00:00
2020-05-10 20:05:19 +00:00
fields :
download :
selector : a[href^="download.php?id="]
attribute : href
title :
selector : a[href^="/details/id"]
filters :
- name : re_replace
args : [ "(\\([А -Яа-яЁё\\W]+\\))|(^[А -Яа-яЁё\\W\\d]+\\/ )|([а -яА-ЯЁё \\-]+,+)|([а -яА-ЯЁё]+)" , "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}" ]
details :
selector : a[href^="/details/id"]
attribute : href
category :
selector : a[href*="/browse/cat"]
attribute : href
filters :
- name : regexp
args : (\d+)
date :
selector : td > div > small
filters :
- name : dateparse
args : "02-01-2006 15:04"
seeders :
selector : td:nth-child(4)
filters :
- name : split
args : [ "|" , 0 ]
leechers :
selector : td:nth-child(4)
filters :
- name : split
args : [ "|" , 1 ]
grabs :
selector : td:nth-child(5) strong
filters :
- name : regexp
args : (\d+)
size :
selector : td:nth-child(5)
remove : strong
downloadvolumefactor :
case :
a[href^="/details/id"][style="color:#f2b101"]: 0
a[href^="/details/id"][style="color:#828b8b"]: 0.5
"*": 1
uploadvolumefactor :
text : 1
2020-03-24 07:33:46 +00:00
# engine n/a