From 1d46f3c8df60215f5e6b3038a42d69e54ee11b73 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 30 May 2024 15:18:21 +1200 Subject: [PATCH] leech24: -> unit3d 8.1.3 part 1. #12553 --- src/Jackett.Common/Definitions/leech24.yml | 159 --------------------- src/Jackett.Updater/Program.cs | 1 + 2 files changed, 1 insertion(+), 159 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/leech24.yml diff --git a/src/Jackett.Common/Definitions/leech24.yml b/src/Jackett.Common/Definitions/leech24.yml deleted file mode 100644 index 65a9c4847..000000000 --- a/src/Jackett.Common/Definitions/leech24.yml +++ /dev/null @@ -1,159 +0,0 @@ ---- -id: leech24 -name: leech24 -description: "leech24 is a Private Torrent Tracker for MOVIES / TV / GENERAL" -language: en-US -type: private -encoding: UTF-8 -links: - - https://leech24.net/ - -caps: - categorymappings: - - {id: 28, cat: TV/Anime, desc: "Anime: All"} - - {id: 20, cat: PC, desc: "Apps: Linux"} - - {id: 19, cat: PC/Mac, desc: "Apps: Mac"} - - {id: 21, cat: PC/Mobile-Other, desc: "Apps: Other"} - - {id: 18, cat: PC/0day, desc: "Apps: PC"} - - {id: 9, cat: TV/Documentary, desc: "Documentaries: All"} - - {id: 45, cat: Console/NDS, desc: "Games: DS"} - - {id: 16, cat: Console/Other, desc: "Games: Dreamcast"} - - {id: 46, cat: Console/Other, desc: "Games: GameCube"} - - {id: 49, cat: Console/NDS, desc: "Games: Nintendo"} - - {id: 17, cat: Console/Other, desc: "Games: Other"} - - {id: 10, cat: PC/Games, desc: "Games: PC"} - - {id: 15, cat: Console/PSP, desc: "Games: PS"} - - {id: 12, cat: Console/PSP, desc: "Games: PSP"} - - {id: 44, cat: Console/Wii, desc: "Games: Wii"} - - {id: 13, cat: Console/XBox, desc: "Games: Xbox"} - - {id: 14, cat: Console/XBox 360, desc: "Games: Xbox360"} - - {id: 3, cat: Movies/UHD, desc: "Movies: 4K"} - - {id: 1, cat: Movies/DVD, desc: "Movies: DVD"} - - {id: 2, cat: Movies/SD, desc: "Movies: Divx/Xvid"} - - {id: 42, cat: Movies/HD, desc: "Movies: HD"} - - {id: 4, cat: Movies/Other, desc: "Movies: Other"} - - {id: 48, cat: Movies, desc: "Movies: Packs"} - - {id: 24, cat: Audio/Video, desc: "Music: DVD"} - - {id: 23, cat: Audio/Lossless, desc: "Music: Lossless"} - - {id: 22, cat: Audio/MP3, desc: "Music: MP3"} - - {id: 27, cat: Audio/Other, desc: "Music: Other"} - - {id: 26, cat: Audio/Other, desc: "Music: Radio"} - - {id: 25, cat: Audio/Video, desc: "Music: Video"} - - {id: 36, cat: Books/EBook, desc: "Other: E-Books"} - - {id: 33, cat: PC, desc: "Other: Emulation"} - - {id: 39, cat: Other, desc: "Other: Extra Pars/Fills"} - - {id: 37, cat: Other, desc: "Other: Images"} - - {id: 38, cat: PC/Mobile-Other, desc: "Other: Mobile Phone"} - - {id: 40, cat: Other, desc: "Other: Other"} - - {id: 34, cat: PC/Mobile-Other, desc: "Other: PPC/PDA"} - - {id: 35, cat: Audio, desc: "Other: Sounds"} - - {id: 5, cat: TV/SD, desc: "TV: DVD"} - - {id: 6, cat: TV/SD, desc: "TV: Divx/Xvid"} - - {id: 41, cat: TV/HD, desc: "TV: HD"} - - {id: 7, cat: TV/Other, desc: "TV: pack"} - - {id: 47, cat: XXX, desc: "xxx: xxx"} - - 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_cookie - type: info_cookie - - 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: - method: cookie - inputs: - cookie: "{{ .Config.cookie }}" - test: - path: / - selector: a[href="account-logout.php"] - -search: - paths: - # https://leech24.net/torrents-search.php?c3=1&c1=1&c2=1&c42=1&c4=1&c7=1&search=&cat=0&incldead=1&freeleech=0&lang=0 - - 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 all, 1 english, etc - lang: 0 - sort: "{{ .Config.sort }}" - order: "{{ .Config.type }}" - # does not support imdbid search and does not return imdb link in results - -# The search page states that: You can search using phrases contained within , you can include words with + you can exclude words with - -# but adding + to words causes 0 results, so we will add an andmatch since the default seems to be a keywords OR search. -# keywordsfilters: -# - name: re_replace -# args: ["(\\w+)", "+$1"] # prepend + to each word - - rows: - selector: table.ttable_headinner tr.t-row:has(a[href^="download.php?id="]) - filters: - - name: andmatch - - fields: - category: - selector: a[href^="torrents.php?cat="] - attribute: href - filters: - - name: querystring - args: cat - title: - selector: a[href^="torrents-details.php?id="] - attribute: title - details: - selector: a[href^="torrents-details.php?id="] - attribute: href - download: - selector: a[href^="download.php?id="] - attribute: href - date: - text: now - size: - selector: td:nth-last-child(4) - seeders: - selector: td:nth-last-child(3) - leechers: - selector: td:nth-last-child(2) - downloadvolumefactor: - case: - img[src="images/free.gif"]: 0 - "*": 1 - uploadvolumefactor: - text: 1 - minimumratio: - text: 1.0 -# TorrentTrader v2-svn diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 84b2cb7f9..44fe7a5c1 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -476,6 +476,7 @@ namespace Jackett.Updater "Definitions/latinop2p.yml", "Definitions/leaguehd.yml", // renamed to lemonhd "Definitions/lechaudron.yml", + "Definitions/leech24.yml", // switch to *-API #12553 "Definitions/legacyhd.yml", // renamed to realflix "Definitions/legittorrents.yml", "Definitions/lemencili.yml",