From 2e0f6c7b035bfffd660c668bddd0b80544b29c84 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 9 Feb 2019 09:55:41 +1300 Subject: [PATCH] add SpaceTorrent, a French Private tracker. resolves #2901 --- README.md | 1 + .../Definitions/spacetorrent.yml | 161 ++++++++++++++++++ 2 files changed, 162 insertions(+) create mode 100644 src/Jackett.Common/Definitions/spacetorrent.yml diff --git a/README.md b/README.md index 55e66b469..5922d0abc 100644 --- a/README.md +++ b/README.md @@ -280,6 +280,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * ShareSpaceDB * Shazbat * Shellife + * SpaceTorrent * Speed-Share * SpeedCD * SpeedTorrent Reloaded diff --git a/src/Jackett.Common/Definitions/spacetorrent.yml b/src/Jackett.Common/Definitions/spacetorrent.yml new file mode 100644 index 000000000..f27bda7d0 --- /dev/null +++ b/src/Jackett.Common/Definitions/spacetorrent.yml @@ -0,0 +1,161 @@ +--- + site: spacetorrent + name: SpaceTorrent + description: "SpaceTorrent is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL" + language: fr-fr + type: private + encoding: UTF-8 + links: + - https://www.spacetorrent.cloud/ + + caps: + categorymappings: + - {id: 41, cat: PC/Phone-Android, desc: "Applications / Android"} + - {id: 42, cat: PC/Phone-IOS, desc: "Applications / iOS"} + - {id: 57, cat: Books/Comics, desc: "Ebooks / Bandes dessinées"} + - {id: 58, cat: XXX, desc: "Ebooks / Bandes dessinées X"} + - {id: 31, cat: Books/Magazines, desc: "Ebooks / Journaux"} + - {id: 32, cat: Books/Ebook, desc: "Ebooks / Livres"} + - {id: 59, cat: Books/Comics, desc: "Ebooks / Manga"} + - {id: 77, cat: Movies/UHD, desc: "Films / 4K rip"} + - {id: 23, cat: Movies, desc: "Films / Animés"} + - {id: 49, cat: Movies/BluRay, desc: "Films / BDrip"} + - {id: 51, cat: Movies/BluRay, desc: "Films / BluRay 1080"} + - {id: 52, cat: Movies/BluRay, desc: "Films / BluRay 4K"} + - {id: 50, cat: Movies/BluRay, desc: "Films / BluRay 720"} + - {id: 19, cat: Movies/BluRay, desc: "Films / BRrip"} + - {id: 74, cat: TV/Documentary, desc: "Films / Documentaires"} + - {id: 20, cat: Movies/DVD, desc: "Films / DVD-R 5"} + - {id: 48, cat: Movies/DVD, desc: "Films / DVD-R 9"} + - {id: 53, cat: Movies/DVD, desc: "Films / DVDrip"} + - {id: 64, cat: Movies/HD, desc: "Films / HDLight 1080"} + - {id: 63, cat: Movies/HD, desc: "Films / HDLight 720"} + - {id: 55, cat: Movies/HD, desc: "Films / HDrip 1080"} + - {id: 54, cat: Movies/HD, desc: "Films / HDrip 720"} + - {id: 60, cat: Movies/HD, desc: "Films / HDTV"} + - {id: 62, cat: Movies/HD, desc: "Films / HDTV 1080"} + - {id: 61, cat: Movies/HD, desc: "Films / HDTV 720"} + - {id: 75, cat: Movies/SD, desc: "Films / VHSrip"} + - {id: 65, cat: Movies/WEBDL, desc: "Films / Web-DL"} + - {id: 67, cat: Movies/WEBDL, desc: "Films / Web-DL 1080"} + - {id: 68, cat: Movies/WEBDL, desc: "Films / Web-DL 4K"} + - {id: 69, cat: Movies/WEBDL, desc: "Films / Web-DL 4K"} + - {id: 66, cat: Movies/WEBDL, desc: "Films / Web-DL 720"} + - {id: 70, cat: Movies/WEBDL, desc: "Films / WEBrip"} + - {id: 72, cat: Movies/WEBDL, desc: "Films / WEBrip 1080"} + - {id: 73, cat: Movies/WEBDL, desc: "Films / WEBrip 4K"} + - {id: 71, cat: Movies/WEBDL, desc: "Films / WEBrip 720"} + - {id: 9, cat: XXX, desc: "Films X"} + - {id: 76, cat: Console/3DS, desc: "Jeux / 3DS"} + - {id: 29, cat: PC/Phone-Android, desc: "Jeux / Android"} + - {id: 12, cat: Console, desc: "Jeux / GameBoy"} + - {id: 45, cat: Console, desc: "Jeux / GameBoy Advance"} + - {id: 30, cat: PC/Phone-IOS, desc: "Jeux / iOS"} + - {id: 46, cat: PC/Mac, desc: "Jeux / Mac"} + - {id: 4, cat: PC/Games, desc: "Jeux / PC "} + - {id: 36, cat: Console/PSP, desc: "Jeux / PS1"} + - {id: 37, cat: Console/PSP, desc: "Jeux / PS2"} + - {id: 33, cat: Console/PS3, desc: "Jeux / PS3"} + - {id: 34, cat: Console/PS4, desc: "Jeux / PS4"} + - {id: 78, cat: Console/Wii, desc: "Jeux / Wii"} + - {id: 38, cat: Console/Xbox, desc: "Jeux / Xbox"} + - {id: 40, cat: Console/Xbox, desc: "Jeux / Xbox One"} + - {id: 39, cat: Console/Xbox 360, desc: "Jeux / Xbox360"} + - {id: 28, cat: PC/Mac, desc: "Logiciels / Apple"} + - {id: 26, cat: PC, desc: "Logiciels / Linux"} + - {id: 27, cat: PC/0day, desc: "Logiciels / Windows"} + - {id: 56, cat: Audio/Lossless, desc: "Musiques / FLAC"} + - {id: 6, cat: Audio/MP3, desc: "Musiques / MP3"} + - {id: 7, cat: TV, desc: "Séries"} + - {id: 44, cat: XXX, desc: "Séries X"} + - {id: 47, cat: TV, desc: "Séries animées"} + - {id: 43, cat: TV/HD, desc: "Séries HD"} + - {id: 0, cat: Other, desc: "Other"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + settings: + - name: cookie + type: text + label: Cookie + - name: info + type: info + label: How to get the Cookie + default: "
  1. Login to this tracker in your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button
  5. Refresh the page by pressing F5
  6. Select the Headers tab
  7. Find 'cookie:' in the Request Headers section
  8. Copy & paste the whole cookie string to here
" + + login: + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: index + selector: a[href="../logout"] + + ratio: + path: index + selector: a.nav-link i[class="ti-pulse"] + + download: + selector: a[href^="magnet:?xt="] + + search: + path: recherche + inputs: + search: "{{ .Keywords }}" + cat: 0 + rows: + selector: table#table-1 tbody tr + fields: + download: + selector: a[href^="../torrent/"] + attribute: href + title: + selector: a[href^="../torrent/"] + details: + selector: a[href^="../torrent/"] + attribute: href + category: + selector: a[href^="../recherche?"] + attribute: href + filters: + - name: querystring + args: cat + date: + selector: td:nth-child(4) + filters: + - name: replace + args: ["heures", "hours"] + - name: replace + args: ["heure", "hour"] + - name: replace + args: ["jours", "days"] + - name: replace + args: ["jour", "day"] + - name: replace + args: ["semaines", "weeks"] + - name: replace + args: ["semaine", "week"] + - name: replace + args: ["mois", "months"] + - name: replace + args: ["ans", "years"] + - name: replace + args: ["an", "year"] + - name: append + args: " ago" + size: + selector: td:nth-child(5) + seeders: + selector: td:nth-child(6) + leechers: + selector: td:nth-child(7) + downloadvolumefactor: + case: + "i.fa-star": "0" + "*": "1" + uploadvolumefactor: + case: + "*": "1"