diff --git a/README.md b/README.md index 4bf8e93aa..8d0063414 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Cinematik * CinemaZ (EuTorrents) * Classix + * CrazySpirits * CrnaBerza * DanishBits (DB) * Dark-Shadow diff --git a/src/Jackett.Common/Definitions/crazyspirits.yml b/src/Jackett.Common/Definitions/crazyspirits.yml new file mode 100644 index 000000000..2fab99acf --- /dev/null +++ b/src/Jackett.Common/Definitions/crazyspirits.yml @@ -0,0 +1,191 @@ +--- + site: crazyspirits + name: CrazySpirits + description: "Crazy Spirits is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL" + language: fr-fr + type: private + encoding: UTF-8 + links: + - https://www.crazyspirits.com/ + + caps: + categorymappings: + # Documentaire + - {id: 96, cat: TV/Documentary, desc: "Docus TV"} + # Films + - {id: 49, cat: Movies/3D, desc: "Films 3D"} + - {id: 1, cat: XXX, desc: "3X"} + - {id: 48, cat: XXX, desc: "3X HD1080p"} + - {id: 47, cat: XXX, desc: "3X HD720p"} + - {id: 50, cat: Movies/UHD, desc: "Films 4K"} + - {id: 51, cat: Movies/UHD, desc: "Films 4K UHDTV"} + - {id: 57, cat: Movies/BluRay, desc: "Films BDRip"} + - {id: 56, cat: Movies/BluRay, desc: "Films Blu-Ray"} + - {id: 58, cat: Movies/BluRay, desc: "Films BRRip"} + - {id: 66, cat: Movies, desc: "Films CamTS"} + - {id: 59, cat: Movies/DVD, desc: "Films DVDR"} + - {id: 60, cat: Movies/DVD, desc: "Films DVDRip"} + - {id: 98, cat: Movies, desc: "Films Film Animées"} + - {id: 65, cat: Movies, desc: "Films FSCR"} + - {id: 52, cat: Movies/HD, desc: "Films HD 720p"} + - {id: 53, cat: Movies/HD, desc: "Films HD1080p"} + - {id: 61, cat: Movies/HD, desc: "Films HDRip"} + - {id: 63, cat: Movies/HD, desc: "Films MHD"} + - {id: 67, cat: Movies, desc: "Films Pack Films"} + - {id: 64, cat: Movies, desc: "Films R5"} + - {id: 99, cat: Movies, desc: "Films Remux"} + - {id: 69, cat: Movies, desc: "Films VO"} + - {id: 68, cat: Movies, desc: "Films VostFR"} + - {id: 72, cat: Movies/WEBDL, desc: "Films WEB DL"} + - {id: 122, cat: Movies/WEBDL, desc: "Films Web-DL 1080P"} + - {id: 123, cat: Movies/WEBDL, desc: "Films WEB-DL 720p"} + - {id: 73, cat: Movies/WEBDL, desc: "Films Webrip"} + - {id: 70, cat: Movies/WEBDL, desc: "Films WebRip 1080p"} + - {id: 71, cat: Movies/WEBDL, desc: "Films WebRip 720p"} + # Jeux + - {id: 114, cat: PC/Games, desc: "Jeux PC"} + - {id: 115, cat: Console/PS3, desc: "Jeux PS3"} + - {id: 116, cat: Console/PSP, desc: "Jeux PSP- PSX"} + - {id: 117, cat: Console, desc: "Jeux Roms"} + - {id: 118, cat: Console, desc: "Jeux Switch"} + - {id: 119, cat: Console/Wii, desc: "Jeux Wii"} + - {id: 120, cat: Console/WiiU, desc: "Jeux WiiU"} + - {id: 121, cat: Console/Xbox, desc: "Jeux Xbox"} + # Livre + - {id: 100, cat: Audio/Audiobook, desc: "Livre Audio"} + - {id: 101, cat: Books/Ebook, desc: "Livre Epub"} + - {id: 102, cat: Books, desc: "Livre Mangas"} + - {id: 103, cat: Books, desc: "Livres BD"} + - {id: 104, cat: Books/Comics, desc: "Livres Comics"} + - {id: 105, cat: Books/Magazines, desc: "Livres Press"} + - {id: 106, cat: Books, desc: "Livres Romans"} + # Logiciel + - {id: 113, cat: PC/Phone-IOS, desc: "Logiciel Apple"} + - {id: 111, cat: PC, desc: "Logiciel Linux"} + - {id: 112, cat: PC/Phone-Other, desc: "Logiciel Smart Phone"} + - {id: 110, cat: PC/0day, desc: "Logiciel Windows"} + # Musiques + - {id: 108, cat: Audio/Lossless, desc: "Musiques FLAC"} + - {id: 107, cat: Audio/MP3, desc: "Musiques MP3"} + - {id: 109, cat: Audio, desc: "Musiques WMA"} + # Séries + - {id: 78, cat: TV/HD, desc: "Series 1080p"} + - {id: 79, cat: TV/HD, desc: "Series 720p"} + - {id: 97, cat: TV/Anime, desc: "Series Animée"} + - {id: 76, cat: TV/HD, desc: "Series Blu-Ray"} + - {id: 80, cat: TV/SD, desc: "Series DvDR"} + - {id: 81, cat: TV/SD, desc: "Series DVDrip"} + - {id: 77, cat: TV/HD, desc: "Series HDTV"} + - {id: 82, cat: TV/HD, desc: "Series MHD"} + - {id: 88, cat: TV, desc: "Series Pack"} + - {id: 87, cat: TV, desc: "Series VO"} + - {id: 86, cat: TV, desc: "Series VosFR"} + - {id: 89, cat: TV, desc: "Series VOSTA"} + - {id: 85, cat: TV/WEB-DL, desc: "Series WEB"} + - {id: 83, cat: TV/WEB-DL, desc: "Series WebDL1080p"} + - {id: 84, cat: TV/WEB-DL, desc: "Series WebDL720p"} + # Spéctacle + - {id: 90, cat: TV/Other, desc: "Spectacle 1080p"} + - {id: 91, cat: TV/Other, desc: "Spectacle 720p"} + # Télévision + - {id: 94, cat: TV, desc: "TV Animation"} + - {id: 93, cat: TV/Documentary, desc: "TV Documentaires"} + - {id: 92, cat: TV/Other, desc: "TV Spectacles"} + - {id: 95, cat: TV/Sport, desc: "TV Sports"} + - {id: 74, cat: TV/HD, desc: "TV TVHD"} + - {id: 75, cat: TV, desc: "TV TVRip"} + + 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: torrents-search.php + selector: a[href="account-logout.php"] + + download: + before: + path: thanks.php + method: "get" + inputs: + id: "{{ .DownloadUri.Query.id }}" + to: "give" + torrent: "{{ .DownloadUri.Query.id }}" + selector: a:contains("Télécharger ce torrent") + + search: + paths: + # http://crazyspirits.com/torrents-search.php?c101=1&c102=1&c103=1&c104=1&c105=1&c106=1&search=&cat=0&incldead=0&freeleech=0&lang=0 + - path: torrents-search.php + inputs: + $raw: "{{range .Categories}}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + incldead: 1 + freeleech: 0 + lang: 0 + + rows: + selector: table.border_table > tbody > tr.t-row + fields: + title: + selector: a[href^="torrents-details.php?id="] b + category: + selector: a[href^="torrents.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + details: + selector: a[href^="torrents-details.php?id="] + attribute: href + download: + selector: a[href^="torrents-details.php?id="] + attribute: href + banner: + selector: a[onmouseover][href^="torrents-details.php?id="] + attribute: onmouseover + filters: + - name: regexp + args: "src=(.*?)><" + grabs: + selector: td:nth-last-child(4) + seeders: + selector: td:nth-last-child(3) + leechers: + selector: td:nth-last-child(2) + size: + selector: a[onmouseover][href^="torrents-details.php?id="] + attribute: onmouseover + filters: + - name: regexp + args: "Taille : (.*?)(.*?)