mirror of https://github.com/Jackett/Jackett
turktorrent: new layout and categories. resolves #6232
This commit is contained in:
parent
97ecf0621a
commit
d77da3c3a7
|
@ -2,9 +2,9 @@
|
|||
site: turktorrent
|
||||
name: TurkTorrent
|
||||
description: "TurkTorrent (TT) is a TURKISH Private Torrent Tracker for MOVIES / TV / GENERAL"
|
||||
language: tr
|
||||
language: tr-TR
|
||||
type: private
|
||||
encoding: ISO-8859-9
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://turktorrent.us/
|
||||
legacylinks:
|
||||
|
@ -13,79 +13,71 @@
|
|||
|
||||
caps:
|
||||
categorymappings:
|
||||
# animation
|
||||
- {id: 3, cat: Movies, desc: "Animasyon GENEL"}
|
||||
- {id: 40, cat: Movies, desc: "Animasyon Turkce"}
|
||||
- {id: 41, cat: Movies, desc: "Animasyon TR Sub"}
|
||||
# Documentary
|
||||
- {id: 16, cat: TV/Documentary, desc: "Belgesel GENEL"}
|
||||
- {id: 42, cat: TV/Documentary, desc: "Belgesel Türkçe"}
|
||||
- {id: 43, cat: TV/Documentary, desc: "Belgesel TR Sub"}
|
||||
# Religious
|
||||
- {id: 22, cat: TV/Other, desc: "Dini"}
|
||||
# TV
|
||||
- {id: 7, cat: TV, desc: "Dizi ve Show"}
|
||||
- {id: 133, cat: TV, desc: "Dizi BoxSet"}
|
||||
- {id: 35, cat: TV, desc: "Dizi Yabancı (Orj-Dub-Sub)"}
|
||||
- {id: 34, cat: TV, desc: "Dizi Yerli (Dizi - TV Show)"}
|
||||
# Other
|
||||
- {id: 29, cat: Other, desc: "Diğer"}
|
||||
- {id: 129, cat: Other, desc: "Diğer E-Kitap"}
|
||||
- {id: 122, cat: Other, desc: "Diğer Resimler"}
|
||||
- {id: 126, cat: Other, desc: "Diğer Spor"}
|
||||
# Training Presentations
|
||||
- {id: 62, cat: Other, desc: "Eğitim Sunumlari"}
|
||||
# Movies
|
||||
- {id: 124, cat: Movies, desc: "Filmler GENEL"}
|
||||
- {id: 98, cat: Movies/3D, desc: "Filmler 3D Türkçe Dublaj"}
|
||||
- {id: 99, cat: Movies/3D, desc: "Filmler 3D Yabancı TR Sub"}
|
||||
- {id: 134, cat: Movies/UHD, desc: "Filmler 4K UHD"}
|
||||
- {id: 125, cat: Movies/Foreign, desc: "Filmler Almanca"}
|
||||
- {id: 88, cat: Movies/BluRay, desc: "Filmler Blu-ray Disc"}
|
||||
- {id: 132, cat: Movies/Other, desc: "Filmler Bollywood"}
|
||||
- {id: 96, cat: Movies, desc: "Filmler BoxSet Türk Filmi"}
|
||||
- {id: 30, cat: Movies, desc: "Filmler Boxset Türkçe Dublaj"}
|
||||
- {id: 33, cat: Movies, desc: "Filmler BoxSet Yabancı TR Sub"}
|
||||
- {id: 36, cat: Movies/DVD, desc: "Filmler DVD (Dijital Video Disk)"}
|
||||
- {id: 127, cat: Movies, desc: "Filmler IMDB Top 250"}
|
||||
- {id: 137, cat: Movies, desc: "Filmler Türk Filmi"}
|
||||
- {id: 66, cat: Movies/HD, desc: "Filmler X264 Türkçe Dublaj"}
|
||||
- {id: 67, cat: Movies/HD, desc: "Filmler X264 Yabancı TR Sub"}
|
||||
- {id: 130, cat: Movies/HD, desc: "Filmler x265 Filmler"}
|
||||
- {id: 51, cat: Movies/SD, desc: "Filmler XviD Türkçe Dublaj"}
|
||||
- {id: 52, cat: Movies/SD, desc: "Filmler XviD Yabancı TR Sub"}
|
||||
# Music
|
||||
- {id: 13, cat: Audio, desc: "Müzik GENEL"}
|
||||
- {id: 94, cat: Audio, desc: "Müzik Discography Türkçe"}
|
||||
- {id: 47, cat: Audio, desc: "Müzik Discography Yabancı"}
|
||||
- {id: 13, cat: Audio, desc: "Müzik Türkçe"}
|
||||
- {id: 13, cat: Audio/Video, desc: "Müzik Video Klip"}
|
||||
- {id: 13, cat: Audio/Foreign, desc: "Müzik Yabancı"}
|
||||
# Netflix
|
||||
- {id: 138, cat: Movies/WEBDL, desc: "Netflix GENEL"}
|
||||
- {id: 142, cat: Movies/WEBDL, desc: "Netflix Animasyon"}
|
||||
- {id: 141, cat: Movies/WEBDL, desc: "Netflix Belgesel"}
|
||||
- {id: 139, cat: Movies/WEBDL, desc: "Netflix Dizi"}
|
||||
- {id: 140, cat: Movies/WEBDL, desc: "Netflix Film"}
|
||||
# Games
|
||||
- {id: 24, cat: Console, desc: "Oyun GENEL"}
|
||||
- {id: 121, cat: PC/Mac, desc: "Oyun Mac OS"}
|
||||
- {id: 92, cat: PC/Games, desc: "Oyun PC"}
|
||||
- {id: 73, cat: Console/PS3, desc: "Oyun PS3"}
|
||||
- {id: 93, cat: Console/Wii, desc: "Oyun Wii"}
|
||||
- {id: 91, cat: Console/Xbox 360, desc: "Oyun Xbox360"}
|
||||
# Software
|
||||
- {id: 25, cat: PC, desc: "Program GENEL"}
|
||||
- {id: 123, cat: PC/Phone-Other, desc: "Program Mobile"}
|
||||
- {id: 103, cat: PC/0day, desc: "Program PC"}
|
||||
# VIP
|
||||
- {id: 131, cat: Other, desc: "Vip"}
|
||||
- {id: 36, cat: Movies, desc: "Film"}
|
||||
- {id: 59, cat: Movies, desc: "Türk Filmi"}
|
||||
- {id: 61, cat: Movies/3D, desc: "3D"}
|
||||
- {id: 18, cat: Movies, desc: "Anime - Çizgi Türkçe"}
|
||||
- {id: 19, cat: Movies, desc: "Anime - Çizgi TR Altyazı"}
|
||||
- {id: 20, cat: Movies, desc: "Boxset Türkçe"}
|
||||
- {id: 21, cat: Movies, desc: "Boxset Tr Altyzı"}
|
||||
- {id: 22, cat: Movies/DVD, desc: "DVD Disk Türkçe"}
|
||||
- {id: 23, cat: Movies/DVD, desc: "DVD Disk Tr Altyazı"}
|
||||
- {id: 24, cat: Movies/BluRay, desc: "Bluray Disk Türkçe"}
|
||||
- {id: 25, cat: Movies/BluRay, desc: "Bluray Disk Tr Altyazı"}
|
||||
- {id: 26, cat: Movies/UHD, desc: "4K UHD Disk Türkçe"}
|
||||
- {id: 27, cat: Movies/UHD, desc: "4K UHD Disk Tr Altyazı"}
|
||||
- {id: 28, cat: Movies/HD, desc: "X265 Türkçe"}
|
||||
- {id: 29, cat: Movies/HD, desc: "X265 Tr Altyazı"}
|
||||
- {id: 30, cat: Movies/HD, desc: "X264 Türkçe"}
|
||||
- {id: 37, cat: Movies/HD, desc: "X264 Tr Altyazı"}
|
||||
- {id: 31, cat: TV, desc: "Dizi"}
|
||||
- {id: 32, cat: TV, desc: "Yerli Dizi"}
|
||||
- {id: 33, cat: TV, desc: "Yabancı Orjinal Dil / Tr Dublaj Dizi"}
|
||||
- {id: 34, cat: TV, desc: "Dizi Boxset"}
|
||||
- {id: 35, cat: TV, desc: "Netflix"}
|
||||
- {id: 41, cat: TV, desc: "Anime - Çizgi"}
|
||||
- {id: 39, cat: TV, desc: "Film"}
|
||||
- {id: 38, cat: TV, desc: "Dizi"}
|
||||
- {id: 40, cat: TV, desc: "Belgesel"}
|
||||
- {id: 42, cat: Audio, desc: "Müzik"}
|
||||
- {id: 43, cat: Audio, desc: "Türkçe Müzik"}
|
||||
- {id: 44, cat: Audio, desc: "Yabancı Müzik"}
|
||||
- {id: 45, cat: Audio, desc: "Seri Albüm - Diskografi"}
|
||||
- {id: 2, cat: Console, desc: "Oyun"}
|
||||
- {id: 46, cat: Console, desc: "PC"}
|
||||
- {id: 3, cat: Console, desc: "Sony PS"}
|
||||
- {id: 4, cat: Console, desc: "Wii"}
|
||||
- {id: 14, cat: Console, desc: "XboX"}
|
||||
- {id: 16, cat: Console, desc: "Nintendo"}
|
||||
- {id: 47, cat: PC, desc: "Programlar"}
|
||||
- {id: 48, cat: PC, desc: "Windows"}
|
||||
- {id: 49, cat: PC, desc: "MaC"}
|
||||
- {id: 50, cat: PC, desc: "Mobile"}
|
||||
- {id: 51, cat: Other, desc: "Diğer"}
|
||||
- {id: 62, cat: Other, desc: "Eğitim"}
|
||||
- {id: 52, cat: Other, desc: "Belgesel"}
|
||||
- {id: 53, cat: Other, desc: "Dini Yayınlar"}
|
||||
- {id: 54, cat: Other, desc: "Spor"}
|
||||
- {id: 55, cat: Other, desc: "Duvar Kağıtları"}
|
||||
- {id: 56, cat: Other, desc: "Diğer Her Şey"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: info
|
||||
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>"
|
||||
|
||||
login:
|
||||
path: ?p=home&pid=1
|
||||
method: form
|
||||
|
@ -117,52 +109,80 @@
|
|||
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1.sezon $2.blm"]
|
||||
inputs:
|
||||
p: torrents
|
||||
pid: 10
|
||||
$raw: "{{range .Categories}}&cid[]={{.}}{{end}}"
|
||||
pid: 32
|
||||
$raw: "{{range .Categories}}cid[]={{.}}&{{end}}"
|
||||
keywords: "{{ .Keywords }}"
|
||||
# name description both uploader
|
||||
search_type: name
|
||||
rows:
|
||||
selector: table#sortabletable tbody tr:has(div[id^="port-target-"])
|
||||
selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name)
|
||||
fields:
|
||||
category:
|
||||
selector: div.category_image > a
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cid
|
||||
title:
|
||||
selector: div[id^="port-target-"] a
|
||||
selector: a[href*="?p=torrents&pid=10&action=details"]
|
||||
filters:
|
||||
- name: re_replace # X.sezon X.blm to S01E01
|
||||
args: ["(?i)\\b(\\d+).sezon\\s(\\d+).blm\\b", "S$1E$2"]
|
||||
- name: re_replace # switch (dd.mm.yyyy) to mm.dd.yyyy
|
||||
args: ["\\((\\d+)\\.(\\d+)\\.(\\d+)\\)", " $2/$1/$3 "]
|
||||
details:
|
||||
selector: div[id^="port-target-"] a
|
||||
selector: a[href*="?p=torrents&pid=10&action=details"]
|
||||
attribute: href
|
||||
category:
|
||||
selector: a[href*="browse.php?category="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: category
|
||||
date:
|
||||
selector: td:nth-child(2) div:nth-last-child(1)
|
||||
# within the hour
|
||||
optional: true
|
||||
selector: td.torrent_name
|
||||
attribute: data-time
|
||||
date:
|
||||
optional: true
|
||||
# Uploaded 30-01-2019 15:02 by
|
||||
selector: td.torrent_name:not(:contains(" at "))
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "Uploaded (.+?) by"
|
||||
- name: dateparse
|
||||
args: "02-01-2006 15:04"
|
||||
date:
|
||||
optional: true
|
||||
# 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*="download.php?id="]
|
||||
selector: a[href*="?p=torrents&pid=10&action=download"]
|
||||
attribute: href
|
||||
magnet:
|
||||
optional: true
|
||||
selector: a[href^="magnet:?xt="]
|
||||
attribute: href
|
||||
size:
|
||||
selector: td:nth-child(5)
|
||||
grabs:
|
||||
selector: td:nth-child(6)
|
||||
selector: a[rel="torrent_size"]
|
||||
seeders:
|
||||
selector: td:nth-child(7)
|
||||
selector: a[rel="torrent_seeders"]
|
||||
leechers:
|
||||
selector: td:nth-child(8)
|
||||
selector: a[rel="torrent_leechers"]
|
||||
grabs:
|
||||
selector: a[rel="times_completed"]
|
||||
banner:
|
||||
selector: a[rel="fancybox"]
|
||||
optional: true
|
||||
attribute: href
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
img[src$="/freedownload.gif"]: "0"
|
||||
img[src$="/silverdownload.gif"]: "0.5"
|
||||
"*": "1"
|
||||
"img[title=\"FREE!\"]": 0
|
||||
"img[title=\"Download Multiplier: 0.5\"]": 0.5
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
img[src$="/x2.gif"]: "2"
|
||||
"*": "1"
|
||||
"img[title=\"Upload Multiplier: 2\"]": 2
|
||||
"*": 1
|
||||
|
|
Loading…
Reference in New Issue