mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
This commit is contained in:
parent
b393deeb7d
commit
1f9584bcc1
2 changed files with 174 additions and 0 deletions
|
@ -566,6 +566,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||
* Tornado
|
||||
* Torrent Network (TN)
|
||||
* Torrent Sector Crew (TSC)
|
||||
* Torrent Trader [![(invite needed)][inviteneeded]](#)
|
||||
* Torrent-Explosiv
|
||||
* Torrent-Syndikat [![(invite needed)][inviteneeded]](#)
|
||||
* TOrrent-tuRK (TORK)
|
||||
|
|
173
src/Jackett.Common/Definitions/torrenttrader.yml
Normal file
173
src/Jackett.Common/Definitions/torrenttrader.yml
Normal file
|
@ -0,0 +1,173 @@
|
|||
---
|
||||
id: torrenttrader
|
||||
name: Torrent Trader
|
||||
description: "Torrent Trader is a GERMAN Private Torrent Tracker for MOVIES / TV / GENERAL"
|
||||
language: de-DE
|
||||
type: private
|
||||
encoding: windows-1252
|
||||
links:
|
||||
- https://the-torrent-trader.com/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 119, cat: Other, desc: "Bilder"}
|
||||
- {id: 135, cat: Movies/HD, desc: "Filme - 1080p"}
|
||||
- {id: 130, cat: Movies/UHD, desc: "Filme - 2160p"}
|
||||
- {id: 134, cat: Movies/HD, desc: "Filme - 720p"}
|
||||
- {id: 148, cat: Movies/DVD, desc: "Filme - DVD/HD2DVD"}
|
||||
- {id: 146, cat: Movies, desc: "Filme - Klassiker"}
|
||||
- {id: 105, cat: Movies, desc: "Filme - x264/x265"}
|
||||
- {id: 127, cat: Movies, desc: "Für Unsere kleinsten"}
|
||||
- {id: 149, cat: Movies/HD, desc: "Movie Pack HD"}
|
||||
- {id: 150, cat: Movies/SD, desc: "Movie Pack SD"}
|
||||
- {id: 137, cat: TV/HD, desc: "Serien - 1080p"}
|
||||
- {id: 138, cat: TV/UHD, desc: "Serien - 2160p"}
|
||||
- {id: 144, cat: TV/HD, desc: "Serien - 720p"}
|
||||
- {id: 116, cat: TV, desc: "Serien - Pack"}
|
||||
- {id: 143, cat: TV/Other, desc: "Serien - Sonstige"}
|
||||
- {id: 142, cat: TV/Documentary, desc: "Doku - Sonstige"}
|
||||
- {id: 133, cat: Audio/MP3, desc: "Musik - MP3/Mp4"}
|
||||
- {id: 123, cat: Audio, desc: "Musik - Discography"}
|
||||
- {id: 122, cat: Audio/Audiobook, desc: "Musik - Hörbuch"}
|
||||
- {id: 124, cat: Audio, desc: "Musik - Alben"}
|
||||
- {id: 125, cat: Audio/Video, desc: "Musik - Video"}
|
||||
- {id: 120, cat: Books, desc: "Ebook"}
|
||||
- {id: 115, cat: PC/0day, desc: "Programme - Windows"}
|
||||
- {id: 114, cat: PC/Mac, desc: "Programme - Mac"}
|
||||
- {id: 113, cat: PC, desc: "Programme - Linux"}
|
||||
- {id: 121, cat: Other, desc: "Handy Stuff"}
|
||||
- {id: 129, cat: Other, desc: "Sonstiges"}
|
||||
- {id: 109, cat: PC/Mobile-Other, desc: "Spiele - Handy"}
|
||||
- {id: 112, cat: Console, desc: "Spiele - Konsolen"}
|
||||
- {id: 111, cat: PC/Games, desc: "Spiele - Mac / Linux"}
|
||||
- {id: 110, cat: PC/Games, desc: "Spiele - PC"}
|
||||
- {id: 118, cat: TV/Sport, desc: "Sport - Sonstiges"}
|
||||
- {id: 69, cat: XXX, desc: "XXX"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
music-search: [q]
|
||||
book-search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: pin
|
||||
type: text
|
||||
label: Pin
|
||||
- name: onlyupload
|
||||
type: checkbox
|
||||
label: Filter OnlyUpload only
|
||||
default: false
|
||||
- name: info_free
|
||||
type: info
|
||||
label: About OnlyUpload at Torrent Trader
|
||||
default: "<ul><li>OnlyUpload are torrents where download is not counted but upload is. Good for building your Ratio up. (On the Jackett dashboard search results these are tagged as Freeleech).</li></ul>"
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: added
|
||||
options:
|
||||
added: created
|
||||
seeds: seeders
|
||||
size: size
|
||||
name: title
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: desc
|
||||
options:
|
||||
desc: desc
|
||||
asc: asc
|
||||
- name: info_tpp
|
||||
type: info
|
||||
label: Results Per Page
|
||||
default: For best results, change the <b>Torrents pro Seite:</b> setting to <b>100</b> on your Control Panel. The default is <i>15</i>.
|
||||
|
||||
login:
|
||||
path: login.php
|
||||
method: form
|
||||
cookies: ["JAVA=OK"] # avoid jscheck redirect
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
secure_pin: "{{ .Config.pin }}"
|
||||
returnto: /
|
||||
error:
|
||||
- selector: table.tableinborder:contains("Anmeldung Gescheitert!") > tbody > tr > td.tablea
|
||||
test:
|
||||
path: index.php
|
||||
selector: a[href="logout.php"]
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: browse.php
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
search: "{{ .Keywords }}"
|
||||
showsearch: 1
|
||||
# 0 active, 1 all, 2 dead
|
||||
incldead: 1
|
||||
orderby: "{{ .Config.sort }}"
|
||||
sort: "{{ .Config.type }}"
|
||||
# site does not support imdbid searching or display imdb links in results.
|
||||
|
||||
rows:
|
||||
selector: "table.tableinborder > tbody > tr:has(a[href^=\"download.php?torrent=\"]){{ if .Config.onlyupload }}:has(img[src=\"pic/oupic.gif\"]){{ else }}{{ end }}"
|
||||
filters:
|
||||
- name: andmatch
|
||||
|
||||
fields:
|
||||
category:
|
||||
selector: a[href^="browse.php?cat="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
selector: a[href^="details.php?id="]:has(b)
|
||||
details:
|
||||
selector: td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(4) > a
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href^="download.php?torrent="]
|
||||
attribute: href
|
||||
size:
|
||||
selector: td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(1)
|
||||
grabs:
|
||||
selector: td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(3) > b
|
||||
files:
|
||||
selector: td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(2)
|
||||
seeders:
|
||||
selector: td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(1)
|
||||
leechers:
|
||||
selector: td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(2) > b:nth-child(3)
|
||||
date:
|
||||
selector: td.content_wrap > table > tbody > tr:nth-child(2) > td:nth-child(5)
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["\u00a0", " "]
|
||||
- name: append
|
||||
args: " +01:00" # CET
|
||||
- name: dateparse
|
||||
args: "dd.MM.yyyy HH:mm:ss zzz"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
img[src="pic/oupic.gif"]: 0 # only upload is counted
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
img[src="pic/freeleech.gif"]: 0 # nothing is counted
|
||||
"*": 1
|
||||
minimumratio:
|
||||
text: 0.7
|
||||
minimumseedtime:
|
||||
# 2 days (as seconds = 2 x 24 x 60 x 60)
|
||||
text: 172800
|
||||
# engine tbd
|
Loading…
Reference in a new issue