From 32ff37d58f67567bb2fd260971ecb4cd023213ce Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sun, 3 Mar 2024 03:47:18 +0000 Subject: [PATCH] oldgreektracker: add Greek private tracker. resolves #15111 (#15113) --- README.md | 1 + .../Definitions/oldgreektracker.yml | 209 ++++++++++++++++++ 2 files changed, 210 insertions(+) create mode 100644 src/Jackett.Common/Definitions/oldgreektracker.yml diff --git a/README.md b/README.md index e30ccf0a7..fd7b602d0 100644 --- a/README.md +++ b/README.md @@ -459,6 +459,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * NorBits * NORDiCHD * Ntelogo + * Old Greek Tracker * Old Toons World * OpenCD [![(invite needed)][inviteneeded]](#) * Orpheus diff --git a/src/Jackett.Common/Definitions/oldgreektracker.yml b/src/Jackett.Common/Definitions/oldgreektracker.yml new file mode 100644 index 000000000..c17e8bf8f --- /dev/null +++ b/src/Jackett.Common/Definitions/oldgreektracker.yml @@ -0,0 +1,209 @@ +--- +id: oldgreektracker +name: Old Greek Tracker +description: "Old Greek Tracker is a GREEK Private Torrent Tracker for PRE-2020 MOVIES / TV / GENERAL" +language: el-GR +type: private +encoding: UTF-8 +links: + - http://oldgreektracker.xyz/ + +caps: + categorymappings: + - {id: 3, cat: PC, desc: "Applications"} + - {id: 7, cat: PC/Mobile-Android, desc: " |-- Android Applications"} + - {id: 5, cat: PC/0day, desc: " |-- Linux Applications"} + - {id: 6, cat: PC/Mac, desc: " |-- Macintosh Applications"} + - {id: 4, cat: PC/0day, desc: " |-- Windows Applications"} + - {id: 22, cat: Books, desc: "Documents"} + - {id: 69, cat: Audio/Audiobook, desc: " |-- Audio Books"} + - {id: 23, cat: Books/EBook, desc: " |-- Books"} + - {id: 27, cat: Books/Comics, desc: " |-- Comics"} + - {id: 24, cat: Books/EBook, desc: " |-- Greek Books"} + - {id: 38, cat: Books/EBook, desc: " |-- Greek Documentaries"} + - {id: 26, cat: Other, desc: " |-- Greek Pictures"} + - {id: 25, cat: Other, desc: " |-- Pictures"} + - {id: 15, cat: Movies/SD, desc: "Movies"} + - {id: 16, cat: Movies/SD, desc: " |-- DVDRip-WEBRip-BRRip"} + - {id: 20, cat: Movies/SD, desc: " |-- Filmographies"} + - {id: 21, cat: Movies/SD, desc: " |-- Greek Filmographies"} + - {id: 17, cat: Movies/SD, desc: " |-- Greek Movies"} + - {id: 19, cat: Audio/Video, desc: " |-- Greek Music Videos"} + - {id: 18, cat: Audio/Video, desc: " |-- Music Videos"} + - {id: 41, cat: Movies/HD, desc: "Movies HD"} + - {id: 50, cat: Movies/HD, desc: " |-- BluRay / 1080p"} + - {id: 51, cat: Movies/UHD, desc: " |-- BluRay / 4K (UHD)"} + - {id: 49, cat: Movies/HD, desc: " |-- BluRay / 720p"} + - {id: 45, cat: Movies/BluRay, desc: " |-- BluRay Disk / 1080p"} + - {id: 66, cat: Movies/BluRay, desc: " |-- BluRay Disk / 4K (UHD)"} + - {id: 42, cat: Movies/HD, desc: " |-- Remux / 1080p"} + - {id: 46, cat: Movies/UHD, desc: " |-- Remux / 4K (UHD)"} + - {id: 47, cat: Movies/WEB-DL, desc: " |-- WEB-DL / 1080p"} + - {id: 48, cat: Movies/UHD, desc: " |-- WEB-DL / 4K (UHD)"} + - {id: 43, cat: Movies/WEB-DL, desc: " |-- WEB-DL / 720p"} + - {id: 8, cat: Audio, desc: "Music"} + - {id: 71, cat: Audio, desc: " |-- Collections"} + - {id: 68, cat: Audio, desc: " |-- Discographies"} + - {id: 10, cat: Audio/Lossless, desc: " |-- Greek Music FLAC"} + - {id: 9, cat: Audio/MP3, desc: " |-- Greek Music MP3"} + - {id: 12, cat: Audio/Lossless, desc: " |-- Music FLAC"} + - {id: 11, cat: Audio/MP3, desc: " |-- Music MP3"} + - {id: 72, cat: Audio/Other, desc: " |-- Soundtracks"} + - {id: 28, cat: TV/SD, desc: "TV"} + - {id: 29, cat: TV/Anime, desc: " |-- Anime"} + - {id: 31, cat: TV/Other, desc: " |-- Cartoons"} + - {id: 37, cat: TV/Documentary, desc: " |-- Documentaries"} + - {id: 70, cat: TV/SD, desc: " |-- DVDRip-WEBRip-BRRip"} + - {id: 30, cat: TV/Anime, desc: " |-- Greek Anime"} + - {id: 32, cat: TV/Other, desc: " |-- Greek Cartoon"} + - {id: 36, cat: TV/SD, desc: " |-- Greek TV Packs"} + - {id: 35, cat: TV/SD, desc: " |-- Greek TV Series"} + - {id: 40, cat: TV/SD, desc: " |-- Greek TV Shows"} + - {id: 39, cat: TV/SD, desc: " |-- Shows"} + - {id: 67, cat: TV/Sport, desc: " |-- Sports"} + - {id: 54, cat: TV/HD, desc: "TV HD"} + - {id: 56, cat: TV/HD, desc: " |-- BluRay / 1080p"} + - {id: 57, cat: TV/UHD, desc: " |-- BluRay / 4K (UHD)"} + - {id: 55, cat: TV/HD, desc: " |-- BluRay / 720p"} + - {id: 63, cat: TV/HD, desc: " |-- BluRay Disk / 1080p"} + - {id: 65, cat: TV/UHD, desc: " |-- BluRay Disk / 4K (UHD)"} + - {id: 61, cat: TV/HD, desc: " |-- Remux / 1080p"} + - {id: 62, cat: TV/UHD, desc: " |-- Remux / 4K (UHD)"} + - {id: 59, cat: TV/WEB-DL, desc: " |-- WEB-DL / 1080p"} + - {id: 60, cat: TV/UHD, desc: " |-- WEB-DL / 4K (UHD)"} + - {id: 58, cat: TV/WEB-DL, desc: " |-- WEB-DL / 720p"} + + modes: + search: [q] + tv-search: [q] + movie-search: [q, imdbid] + music-search: [q] + book-search: [q] + +settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - 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: 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 per page: setting to 40 on your account profile. The Default is 15. + - name: info_activity + type: info + label: Account Inactivity + default: "To keep records updated reguarly, all inactive accounts will be deleted after 60 days of inactivity." + +login: + path: login.php + method: form + form: form[action="takelogin.php"] + captcha: + type: image + selector: img#regimage + input: imagestring + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + logout: "" + error: + - selector: table:contains("error has occured") + test: + path: index.php + selector: a[href*="/logout.php?logouthash="] + +search: + paths: + - path: browse.php + method: post + keywordsfilters: + - name: re_replace + args: ["[\\s]+", "%"] + inputs: + do: search + keywords: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" + # t_name, t_description, t_both, t_uploader, t_genre + search_type: "{{ if .Query.IMDBID }}t_genre{{ else }}t_name{{ end }}" + # does not support multi category searching so defaulting to all. + category: 0 + # yes, no + include_dead_torrents: yes + sort: "{{ if .Config.freeleech }}free{{ else }}{{ .Config.sort }}{{ end }}" + order: "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}" + + rows: + selector: "table.sortable tr:has(a[href*=\"/download-torrent-\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}" + + fields: + category: + selector: a[href*="/torrent-category-"] + attribute: href + filters: + - name: regexp + args: /torrent-category-(.+?)/ + title_default: + # is usually abbreaviated + selector: a[href*="/torrent-details-"] + title: + # while still abbreviated, is usually longer than the default + selector: div.tooltip-content div + optional: true + default: "{{ .Result.title_default }}" + details: + selector: a[href*="/torrent-details-"] + attribute: href + download: + selector: a[href*="/download-torrent-"] + attribute: href + magnet: + selector: a[href^="magnet:?xt="] + attribute: href + poster: + selector: img[src*="/torrents/images/"] + attribute: src + date: + selector: td:nth-child(2) > div:last-child + # auto adjusted by site account profile + filters: + - name: dateparse + args: "dd-MM-yyyy HH:mm" + size: + selector: td:nth-last-child(5) + grabs: + selector: td:nth-last-child(4) + seeders: + selector: td:nth-last-child(3) + leechers: + selector: td:nth-last-child(2) + downloadvolumefactor: + case: + img[src$="/freedownload.gif"]: 0 + img[src$="/silverdownload.gif"]: 0.5 + "*": 1 + uploadvolumefactor: + case: + img[src$="/x2.gif"]: 2 + "*": 1 +# TS Special Edition v.8.0