Jackett/src/Jackett.Common/Definitions/turktorrent.yml

192 lines
6.4 KiB
YAML
Raw Normal View History

---
id: turktorrent
name: TurkTorrent
description: "TurkTorrent (TT) is a TURKISH Private Torrent Tracker for MOVIES / TV / GENERAL"
language: tr-TR
type: private
encoding: UTF-8
links:
- https://turktorrent.us/
legacylinks:
- http://turktorrent1.in/
- http://turktorrent.us/
caps:
categorymappings:
- {id: 36, cat: Movies, desc: "Film"}
- {id: 59, cat: Movies, desc: "Türk Filmi"}
- {id: 61, cat: Movies/3D, desc: "Film 3D"}
- {id: 18, cat: Movies, desc: "Anime - Çizgi"}
- {id: 20, cat: Movies, desc: "Film Boxset"}
- {id: 22, cat: Movies/DVD, desc: "Film DVD Disk"}
- {id: 24, cat: Movies/BluRay, desc: "Film Bluray Disk"}
- {id: 26, cat: Movies/UHD, desc: "4Film K UHD Disk"}
- {id: 28, cat: Movies/HD, desc: "Film X265"}
- {id: 30, cat: Movies/HD, desc: "Film X264"}
- {id: 69, cat: Movies/WEB-DL, desc: "Film H264 WEB-DL"}
- {id: 63, cat: Movies/SD, desc: "Film XviD"}
- {id: 51, cat: Other, desc: "Diğer"}
- {id: 62, cat: Other, desc: "Diğer Eğitim"}
- {id: 52, cat: Other, desc: "Diğer Belgesel"}
- {id: 53, cat: Other, desc: "Diğer Dini Yayınlar"}
- {id: 54, cat: TV/Sport, desc: "Spor"}
- {id: 55, cat: Other, desc: "Diğer Duvar Kağıtları"}
- {id: 56, cat: Other, desc: "Diğer Her Şey"}
- {id: 65, cat: Books/EBook, desc: "E-Kitap"}
- {id: 2, cat: Console, desc: "Oyun"}
- {id: 46, cat: Console, desc: "Oyun PC"}
- {id: 3, cat: Console, desc: "Oyun Sony PS"}
- {id: 4, cat: Console, desc: "Oyun Wii"}
- {id: 14, cat: Console, desc: "Oyun XboX"}
- {id: 16, cat: Console, desc: "Oyun Nintendo"}
- {id: 35, cat: TV, desc: "Netflix"}
- {id: 41, cat: TV, desc: "Netflix Anime - Çizgi"}
- {id: 39, cat: TV, desc: "Netflix Film"}
- {id: 38, cat: TV, desc: "Netflix Dizi"}
- {id: 40, cat: TV, desc: "Netflix Belgesel"}
- {id: 31, cat: TV, desc: "Dizi"}
- {id: 32, cat: TV, desc: "Dizi Yerli"}
- {id: 33, cat: TV, desc: "Dizi Yabancı Orjinal Dil / Tr Dublaj "}
- {id: 34, cat: TV, desc: "Dizi Boxset"}
- {id: 42, cat: Audio, desc: "Müzik"}
- {id: 43, cat: Audio, desc: "Müzik Türkçe"}
- {id: 44, cat: Audio, desc: "Müzik Yabancı"}
- {id: 45, cat: Audio, desc: "Müzik Seri Albüm - Diskografi"}
- {id: 47, cat: PC, desc: "Programlar"}
- {id: 48, cat: PC, desc: "Programlar Windows"}
- {id: 49, cat: PC, desc: "Programlar MaC"}
- {id: 50, cat: PC, desc: "Programlar Mobile"}
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: cookie
type: text
label: Cookie
- name: info_cookie
type: info
label: How to get the Cookie
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>"
- name: info_profile
type: info
label: Layout
default: "<ol><li>Only the English Classic profile is supported.<li>Make sure to set the <b>Torrent Listing (Listeleme Biçimi)</b> option in your profile to <b>Classic (Klasik)</b><li>And set the <b>Language (Dil)</b> to <b>English</b><li>Using the <i>Modern</i> theme will prevent results, and using <i>Turkish</i> will prevent upload dates.</ol>"
- name: freeleech
type: checkbox
label: Filter freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
default: added
options:
added: created
seeders: seeders
size: size
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: ?p=home&pid=1
selector: div#member_info_bar
search:
paths:
- path: /
inputs:
p: torrents
pid: 32
$raw: "{{ range .Categories }}cid[]={{.}}&{{end}}"
keywords: "{{ .Keywords }}"
# name description both uploader
search_type: name
"sortOptions[sortBy]": "{{ .Config.sort }}"
"sortOptions[sortOrder]": "{{ .Config.type }}"
rows:
selector: "table#torrents_table_classic > tbody > tr:has(td.torrent_name){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
fields:
category:
selector: div.category_image > a
attribute: href
filters:
- name: querystring
args: cid
title:
selector: a[href*="?p=torrents&pid=10&action=details"]
details:
selector: a[href*="?p=torrents&pid=10&action=details"]
attribute: href
date:
2020-05-13 00:04:17 +00:00
# within the hour
optional: true
selector: td.torrent_name
attribute: data-time
date:
optional: true
2020-05-13 00:04:17 +00:00
# Uploaded 30-01-2019 15:02 by
selector: td.torrent_name:not(:contains(" at "))
filters:
- name: regexp
args: "Uploaded (.+?) by"
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "02-01-2006 15:04 -07:00"
date:
optional: true
2020-05-13 00:04:17 +00:00
# Uploaded Friday at 05:11 by
# Uploaded Today at 00:48 by
# Uploaded Yesterday at 23:57 by
selector: td.torrent_name:contains(" at ")
filters:
- name: regexp
args: "Uploaded (.+?) by"
- name: replace
args: [" at ", " "]
download:
selector: a[href*="?p=torrents&pid=10&action=download"]
attribute: href
magnet:
optional: true
selector: a[href^="magnet:?xt="]
attribute: href
size:
selector: a[rel="torrent_size"]
seeders:
selector: a[rel="torrent_seeders"]
leechers:
selector: a[rel="torrent_leechers"]
grabs:
selector: a[rel="times_completed"]
poster:
selector: a[rel="fancybox"]
attribute: href
downloadvolumefactor:
case:
"img[src$=\"/freedownload.gif\"]": 0
"img[src$=\"/silverdownload.gif\"]": 0.5
"*": 1
uploadvolumefactor:
case:
"img[src$=\"/torrent_x2.png\"]": 2
"*": 1
minimumratio:
text: 0.5
2020-01-09 06:16:03 +00:00
# TSUE 2.2