From 7af80b8578cd3b12c7aa20bda1723c3df49404bc Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 6 Apr 2021 18:25:11 +1200 Subject: [PATCH] add oasis a Frech Private site. resolves #11483 --- README.md | 1 + src/Jackett.Common/Definitions/oasis.yml | 302 +++++++++++++++++++++++ 2 files changed, 303 insertions(+) create mode 100644 src/Jackett.Common/Definitions/oasis.yml diff --git a/README.md b/README.md index 7bbecdcc5..4b522bc2b 100644 --- a/README.md +++ b/README.md @@ -426,6 +426,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * NetCosmo * NetLab * NorBits + * Oasis * oMg[WtF]trackr * Orpheus * OshenPT diff --git a/src/Jackett.Common/Definitions/oasis.yml b/src/Jackett.Common/Definitions/oasis.yml new file mode 100644 index 000000000..467dca79c --- /dev/null +++ b/src/Jackett.Common/Definitions/oasis.yml @@ -0,0 +1,302 @@ +--- +id: oasis +name: Oasis +description: "Oasis is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL" +language: fr-fr +type: private +encoding: UTF-8 +links: + - https://oasis-fun.club/ + +caps: + categorymappings: + - {id: 2, cat: Movies, desc: "Animations - 4K"} + - {id: 3, cat: Movies, desc: "Animations - 4K Light"} + - {id: 4, cat: Movies, desc: "Animations - BDRIP"} + - {id: 6, cat: Movies, desc: "Animations - BluRay-R"} + - {id: 5, cat: Movies, desc: "Animations - BRRIP"} + - {id: 8, cat: Movies, desc: "Animations - DVD-R"} + - {id: 9, cat: Movies, desc: "Animations - DVDRIP"} + - {id: 11, cat: Movies, desc: "Animations - HD 1080P"} + - {id: 12, cat: Movies, desc: "Animations - HD 720p"} + - {id: 13, cat: Movies, desc: "Animations - HDRIP"} + - {id: 165, cat: Movies, desc: "Animations - JAP"} + - {id: 14, cat: Movies, desc: "Animations - REMUX"} + - {id: 15, cat: Movies, desc: "Animations - TVRIP"} + - {id: 17, cat: Movies, desc: "Animations - WEB-DL"} + - {id: 16, cat: Movies, desc: "Animations - WEBRIP"} + - {id: 167, cat: Audio/Audiobook, desc: "Ebook - AUDIO"} + - {id: 73, cat: Books/EBook, desc: "Ebook - BD"} + - {id: 74, cat: Books/EBook, desc: "Ebook - ENFANTS"} + - {id: 168, cat: Books/Mags, desc: "Ebook - MAGAZINE"} + - {id: 75, cat: Books/Comics, desc: "Ebook - MANGAS"} + - {id: 76, cat: Books, desc: "Ebook - ROMANS"} + - {id: 20, cat: Movies, desc: "Film - DOC.DECOUVERTES"} + - {id: 25, cat: Movies/3D, desc: "Film - 3D"} + - {id: 26, cat: Movies/UHD, desc: "Film - 4K"} + - {id: 27, cat: Movies/UHD, desc: "Film - 4K Light"} + - {id: 169, cat: Movies, desc: "Film - AV1"} + - {id: 28, cat: Movies/BluRay, desc: "Film - BDRIP"} + - {id: 30, cat: Movies/BluRay, desc: "Film - BluRay-R"} + - {id: 29, cat: Movies/BluRay, desc: "Film - BRRIP"} + - {id: 31, cat: Movies, desc: "Film - Coffret"} + - {id: 18, cat: Movies, desc: "Film - DOC.ANIMAUX"} + - {id: 19, cat: Movies, desc: "Film - DOC.ANTIQUE"} + - {id: 21, cat: Movies, desc: "Film - DOC.DIVERS"} + - {id: 22, cat: Movies, desc: "Film - DOC.HISTOIRE"} + - {id: 198, cat: Movies, desc: "Film - DOC.SPECTACLE"} + - {id: 23, cat: Movies, desc: "Film - DOC.SPORT"} + - {id: 24, cat: Movies, desc: "Film - DOC.UNIVERS"} + - {id: 32, cat: Movies/DVD, desc: "Film - DVD-R"} + - {id: 33, cat: Movies/DVD, desc: "Film - DVDRIP"} + - {id: 164, cat: Movies, desc: "Film - EMISSION.TV"} + - {id: 35, cat: Movies/HD, desc: "Film - HD 1080P"} + - {id: 36, cat: Movies/HD, desc: "Film - HD 720p"} + - {id: 37, cat: Movies/HD, desc: "Film - HDRIP"} + - {id: 171, cat: Movies/HD, desc: "Film - HDTV 1080P"} + - {id: 170, cat: Movies/HD, desc: "Film - HDTV 720P"} + - {id: 172, cat: Movies/HD, desc: "Film - M-HD"} + - {id: 38, cat: Movies, desc: "Film - REMUX"} + - {id: 39, cat: Movies, desc: "Film - TVRIP"} + - {id: 184, cat: Movies, desc: "Film - VOSTFR bdrip"} + - {id: 203, cat: Movies, desc: "Film - VOSTFR-bluray"} + - {id: 185, cat: Movies, desc: "Film - VOSTFR.DVDrip"} + - {id: 202, cat: Movies, desc: "Film - VOSTFR.WEB-DL"} + - {id: 186, cat: Movies, desc: "Film - VOSTFR.WEBrip"} + - {id: 41, cat: Movies/WEB-DL, desc: "Film - WEB-DL"} + - {id: 200, cat: Movies/WEB-DL, desc: "Film - Webrip"} + - {id: 59, cat: Console/3DS, desc: "Jeux - 3DS-DS"} + - {id: 60, cat: PC/Mobile-Android, desc: "Jeux - ANDROID"} + - {id: 61, cat: PC/Mobile-iOS, desc: "Jeux - IOS-X"} + - {id: 62, cat: PC/Games, desc: "Jeux - PC"} + - {id: 63, cat: Console/PS4, desc: "Jeux - PS3-4"} + - {id: 64, cat: Console/PSP, desc: "Jeux - PSP-X"} + - {id: 66, cat: Console/Wii, desc: "Jeux - WII"} + - {id: 65, cat: Console/WiiU, desc: "Jeux - WII-U"} + - {id: 67, cat: Console/XBox, desc: "Jeux - XBOX"} + - {id: 68, cat: PC/Mobile-Android, desc: "Logiciel - ANDROID"} + - {id: 69, cat: PC/Mobile-iOS, desc: "Logiciel - APPLE"} + - {id: 70, cat: PC/Mobile-iOS, desc: "Logiciel - IPHONE"} + - {id: 71, cat: PC, desc: "Logiciel - LINUX"} + - {id: 72, cat: PC/0day, desc: "Logiciel - WINDOWS"} + - {id: 173, cat: TV/UHD, desc: "Serie - 4K"} + - {id: 174, cat: TV/UHD, desc: "Serie - 4k-lLIGHT"} + - {id: 85, cat: TV, desc: "Serie - Coffret"} + - {id: 7, cat: TV, desc: "Serie - Coffret-Anime"} + - {id: 194, cat: TV/Documentary, desc: "Serie - DOCU.DIVERS"} + - {id: 195, cat: TV/Documentary, desc: "Serie - DOCU.EMISTV"} + - {id: 86, cat: TV/SD, desc: "Serie - DVD-R"} + - {id: 87, cat: TV/SD, desc: "Serie - DVDRIP"} + - {id: 197, cat: TV, desc: "Serie - EPISODE"} + - {id: 88, cat: TV/HD, desc: "Serie - HD 1080P"} + - {id: 89, cat: TV/HD, desc: "Serie - HD 720p"} + - {id: 90, cat: TV/HD, desc: "Serie - HDRIP"} + - {id: 176, cat: TV/HD, desc: "Serie - HDTV 1080"} + - {id: 175, cat: TV/HD, desc: "Serie - HDTV 720"} + - {id: 182, cat: TV/Anime, desc: "Serie - JAP-ANIM"} + - {id: 177, cat: TV/HD, desc: "Serie - M-HD"} + - {id: 91, cat: TV, desc: "Serie - REMUX"} + - {id: 166, cat: TV, desc: "Serie - SERIE Docu"} + - {id: 92, cat: TV, desc: "Serie - TVRIP"} + - {id: 188, cat: TV, desc: "Serie - VOSTFR.BDrip"} + - {id: 180, cat: TV, desc: "Serie - VOSTFR.COFFRET"} + - {id: 189, cat: TV, desc: "Serie - VOSTFR.DVDrip"} + - {id: 190, cat: TV, desc: "Serie - VOSTFR.HDRIP"} + - {id: 192, cat: TV, desc: "Serie - VOSTFR.WEB-DL"} + - {id: 191, cat: TV, desc: "Serie - VOSTFR.WEBrip"} + - {id: 179, cat: TV/WEB-DL, desc: "Serie - WEB-DL 1080"} + - {id: 178, cat: TV/WEB-DL, desc: "Serie - WEB-DL 720"} + - {id: 199, cat: TV/WEB-DL, desc: "Serie - WebDL"} + - {id: 93, cat: TV/WEB-DL, desc: "Serie - WEBRIP"} + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q] + book-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 with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: multilang + type: checkbox + label: Replace MULTI by another language in release name + default: false + - name: multilanguage + type: select + label: Replace MULTI by this language + default: FRENCH + options: + FRENCH: FRENCH + MULTI.FRENCH: MULTI.FRENCH + ENGLISH: ENGLISH + MULTI.ENGLISH: MULTI.ENGLISH + VOSTFR: VOSTFR + MULTI.VOSTFR: MULTI.VOSTFR + - name: vostfr + type: checkbox + label: Replace VOSTFR with ENGLISH + default: false + - name: torrentlanguage + type: select + label: Torrent Language + default: 0 + options: + 0: "Toutes Les Langues" + 1: Allemand + 2: Anglais(UK) + 3: Anglais(US) + 4: Arabe + 5: Bengali + 6: Cantonais + 7: Coréen + 8: Danois + 9: Espagnol + 10: Flamand + 11: Français + 12: Hébreu + 13: Hindi + 14: Italien + 15: Japonais + 16: Mandarin + 25: Muet + 17: Multi + 26: Musical + 18: Perse + 19: Portuguais + 20: Québécois + 21: Russe + 22: Suédois + 23: Ukrainien + 24: "VOSTFR" + +login: + method: cookie + inputs: + cookie: "{{ .Config.cookie }}" + test: + path: TTV3/Bienvenue + selector: a[href$="/TTV3/Deconnexion"] + +download: + before: + # https://galeriens.com/TTV3/Torrents/11222/Remercier + # note http GET does not seem to work as the html suggests, so using same as LeChaudron which is also a TT3.00FRENCH engine. + path: "/TTV3/Torrents/{{ re_replace .DownloadUri.PathAndQuery \"^(.+?)(\\d+)$\" \"$2\" }}/Remercier" + method: post + inputs: + torrent: "{{ re_replace .DownloadUri.PathAndQuery \"^(.+?)(\\d+)$\" \"$2\" }}" + selector: a[href*="/Telechargement/"] + attribute: href + +search: + paths: + # https://oasis-fun.club/TTV3/Torrents/Recherche?recherche=&type=tout&endroit=nomtorrent&langue=0&tl=peuimporte + # categories for searching are unsupported + - path: TTV3/Torrents/Recherche + inputs: + recherche: "{{ .Keywords }}" + # searchtype: un (one word), tout (all words), exacte (exact expression) + type: tout + # searchin: nomtorrent (name), desctorrent (descr) + endroit: nomtorrent + # language: 11 french, 17 multi + langue: "{{ .Config.torrentlanguage }}" + # freeleech: oui (yes), non (no), peuimporte (ignore) + tl: "{{ if .Config.freeleech }}oui{{ else }}peuimporte{{ end }}" + # does not support imdbid search and does not return imdb link in results. + + rows: + selector: table.sortable tbody tr + fields: + category: + selector: a[href*="/SousCategories/"] + attribute: href + filters: + - name: regexp + args: (\d+)$ + title_phase1: + selector: a[onmouseover] + title_multilang: + text: "{{ .Result.title_phase1 }}" + filters: + - name: re_replace + args: ["(?i)(\\smulti\\s)", " {{ .Config.multilanguage }} "] + title_phase2: + text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase1 }}{{ end }}" + title_vostfr: + text: "{{ .Result.title_phase2 }}" + filters: + - name: re_replace + args: ["(?i)(\\svostfr\\s)", " ENGLISH "] + - name: re_replace + args: ["(?i)(\\ssubfrench\\s)", " ENGLISH "] + title: + text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase2 }}{{ end }}" + details: + selector: a[onmouseover] + attribute: href + download: + selector: a[onmouseover] + attribute: href + poster: + selector: a[onmouseover] + attribute: onmouseover + filters: + - name: regexp + args: "src= (.*?)><" + 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) + date: + selector: td:nth-child(2) a font[color="#F2F2F2"] + filters: + - name: replace + args: ["il y a ", ""] + - name: replace + args: [" Jours", " days"] + - name: replace + args: [" Jour", " day"] + - name: replace + args: [" heures", " hours"] + - name: replace + args: [" heure", " hour"] + - name: replace + args: [" Semaines", " weeks"] + - name: replace + args: [" Semaine", " week"] + - name: replace + args: [" mois", " month"] + - name: replace + args: [" ans", " years"] + - name: replace + args: [" an", " year"] + - name: append + args: " ago" + downloadvolumefactor: + case: + img[src$="/images/Torrents/TLibre.png"]: 0 + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.0 + minimumseedtime: + # 2 days (as seconds = 2 x 24 x 60 x 60) + text: 172800 +# TT3.00 FRENCH