From 55a61669221cfad55d2a05edb5a1a2268a91a0f9 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 16 Nov 2021 09:01:10 +1300 Subject: [PATCH] add the-devils-lounge a private site. resolves #12552 --- README.md | 1 + .../Definitions/the-devils-lounge.yml | 187 ++++++++++++++++++ 2 files changed, 188 insertions(+) create mode 100644 src/Jackett.Common/Definitions/the-devils-lounge.yml diff --git a/README.md b/README.md index 4ffcba615..343bcc672 100644 --- a/README.md +++ b/README.md @@ -528,6 +528,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * TEKNO3D [![(invite needed)][inviteneeded]](#) * TellyTorrent * teracod (Movie Zone) + * The-Devils-Lounge * The Falling Angels (TFA) * The Geeks * The Horror Charnel (THC) diff --git a/src/Jackett.Common/Definitions/the-devils-lounge.yml b/src/Jackett.Common/Definitions/the-devils-lounge.yml new file mode 100644 index 000000000..2d22a33e7 --- /dev/null +++ b/src/Jackett.Common/Definitions/the-devils-lounge.yml @@ -0,0 +1,187 @@ +--- +id: the-devils-lounge +name: The-Devils-Lounge +description: "The-Devils-Lounge is a Private torrent site for MOVIES / TV / GENERAL" +language: en-US +type: private +encoding: UTF-8 +testlinktorrent: false +links: + - https://the-devils-lounge.xyz/ + +caps: + categorymappings: + - {id: 39, cat: Audio/Audiobook, desc: "Abook: Abook"} + - {id: 1, cat: PC/0day, desc: "Application: 0-Day"} + - {id: 2, cat: PC, desc: "Application: Pc"} + - {id: 3, cat: PC/Mac, desc: "Application: Mac"} + - {id: 38, cat: Books/EBook, desc: "Ebooks: Ebook"} + - {id: 32, cat: TV/Anime, desc: "Episodes: Anime"} + - {id: 33, cat: TV, desc: "Episodes: Classic"} + - {id: 34, cat: TV/Foreign, desc: "Episodes: Foreign"} + - {id: 35, cat: TV/HD, desc: "Episodes: TvHD"} + - {id: 36, cat: TV/SD, desc: "Episodes: TvSD"} + - {id: 37, cat: TV/Sport, desc: "Episodes: TVsports"} + - {id: 22, cat: PC/Games, desc: "Games: Pc"} + - {id: 23, cat: Console/PS4, desc: "Games: Ps4"} + - {id: 24, cat: Console/PS3, desc: "Games: Ps3"} + - {id: 25, cat: Console/PSP, desc: "Games: Ps1"} + - {id: 26, cat: Console/PSP, desc: "Games: Ps2"} + - {id: 27, cat: Console/PSP, desc: "Games: PsP"} + - {id: 28, cat: Console/XBox, desc: "Games: xbox"} + - {id: 29, cat: Console/Wii, desc: "Games: Wii"} + - {id: 30, cat: Console/NDS, desc: "Games: Nintendo"} + - {id: 31, cat: Console/Other, desc: "Games: Dreamcast"} + - {id: 4, cat: Movies/HD, desc: "Movies: 1080P"} + - {id: 5, cat: TV/Anime, desc: "Movies: Anime"} + - {id: 6, cat: Movies/DVD, desc: "Movies: DvdR"} + - {id: 7, cat: Movies/SD, desc: "Movies: Camer"} + - {id: 8, cat: Movies/3D, desc: "Movies: 3D"} + - {id: 9, cat: Movies/WEB-DL, desc: "Movies: WEBRip"} + - {id: 10, cat: XXX, desc: "Movies: XxX"} + - {id: 11, cat: Movies/UHD, desc: "Movies: Real-4K"} + - {id: 12, cat: Movies, desc: "Movies: Classic"} + - {id: 13, cat: Movies/Foreign, desc: "Movies: Foreign"} + - {id: 14, cat: Movies, desc: "Movies: Remux"} + - {id: 15, cat: Movies/HD, desc: "Movies: HD"} + - {id: 16, cat: Movies/SD, desc: "Movies: SD"} + - {id: 17, cat: Movies, desc: "Movies: Packs"} + - {id: 18, cat: Movies, desc: "Movies: Animation"} + - {id: 19, cat: Audio, desc: "Music: Audio"} + - {id: 20, cat: Audio, desc: "Music: Packs"} + - {id: 21, cat: Audio/Video, desc: "Music: Video"} + + 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: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: id + options: + id: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +login: + path: account-login.php + method: post + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + returnto: / + error: + - selector: div.myFrame:contains("Access Denied") + test: + path: / + selector: a[href="account-logout.php"] + +download: + before: + path: thanks.php + method: post + inputs: + torrent: "{{ .DownloadUri.Query.id }}" + selectors: + - selector: a[href^="download.php?id="] + attribute: href + +search: + # https://the-devils-lounge.xyz/torrents-search.php?search=&cat=0&incldead=0&freeleech=2&inclexternal=0&lang=0 + paths: + - path: torrents-search.php + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + cat: 0 + # 0 active, 1 incldead, 2 onlydead + incldead: 1 + # 0 all, 1 notfree, 2 onlyfree + freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" + # 0 both, 1 local, 2 external + inclexternal: 0 + # 0 all, 1 English, 2 etc... + lang: 0 + sort: "{{ .Config.sort }}" + order: "{{ .Config.type }}" + # does not support imdbid searching or display imdbid links. + keywordsfilters: + - name: re_replace + args: ["(\\w+)", " +$1"] # prepend + to each word + + rows: + selector: tr.t-row + + fields: + category: + selector: td a[href^="torrents.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + title: + selector: td a[href^="torrents-details.php?id="] + attribute: title + details: + selector: td a[href^="torrents-details.php?id="] + attribute: href + download: + selector: td a[href^="torrents-details.php?id="] + attribute: href + date: + text: now + size: + selector: td:nth-child(6) + seeders: + selector: td:nth-child(7) font:first-of-type + filters: + - name: replace + args: [",", ""] + leechers: + selector: td:nth-child(7) font:last-of-type + filters: + - name: replace + args: [",", ""] + description: + selector: td:last-of-type:contains("E") + filters: + - name: replace + args: ["E", "External"] + - name: replace + args: ["L", "Local"] + downloadvolumefactor: + case: + img[src$="/images/free.gif"]: 0 + "td:last-of-type:contains(\"E\")": 0 # all external torrents are free + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.0 + minimumseedtime: + # 1 day (as seconds = 24 x 60 x 60) + text: 86400 +# FMEDition 3 (TorrentTrader)