From 1f9584bcc15fe009cb6ec131aa82a0043083b509 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sat, 4 Nov 2023 16:26:04 +0000 Subject: [PATCH] torrenttrader: add new German private tracker. resolves #14811 (#14818) --- README.md | 1 + .../Definitions/torrenttrader.yml | 173 ++++++++++++++++++ 2 files changed, 174 insertions(+) create mode 100644 src/Jackett.Common/Definitions/torrenttrader.yml diff --git a/README.md b/README.md index b8245ea79..1104ff663 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/src/Jackett.Common/Definitions/torrenttrader.yml b/src/Jackett.Common/Definitions/torrenttrader.yml new file mode 100644 index 000000000..8436dc9cc --- /dev/null +++ b/src/Jackett.Common/Definitions/torrenttrader.yml @@ -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: "" + - 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 Torrents pro Seite: setting to 100 on your Control Panel. The default is 15. + +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