From 828223474c7bd461743eaab314d7d76915361596 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 29 Oct 2020 13:51:41 +1300 Subject: [PATCH] add genesismovement a semi-rpivate site resolves #9989 --- README.md | 1 + .../Definitions/genesismovement.yml | 142 ++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 src/Jackett.Common/Definitions/genesismovement.yml diff --git a/README.md b/README.md index 572753e18..db18411e3 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Erzsebet.pl * ExKinoRay * ExtremlymTorrents (XTR) + * Genesis-Movement * HamsterStudio * IV-Torrents * KinoNaVse100 diff --git a/src/Jackett.Common/Definitions/genesismovement.yml b/src/Jackett.Common/Definitions/genesismovement.yml new file mode 100644 index 000000000..b3008d393 --- /dev/null +++ b/src/Jackett.Common/Definitions/genesismovement.yml @@ -0,0 +1,142 @@ +--- +id: genesismovement +name: Genesis-Movement +description: "Genesis-Movement is a Semi-Private Torrent Tracker for GENESIS BOOTLEG MUSIC" +language: en-us +type: semi-private +encoding: iso-8859-1 +links: + - https://torrent.genesis-movement.org/ + +caps: + categorymappings: + - {id: 20, cat: Audio, desc: "Audio - Genesis"} + - {id: 28, cat: Audio, desc: "Audio - Mike And The Mechanics "} + - {id: 22, cat: Audio, desc: "Audio - Peter Gabriel"} + - {id: 24, cat: Audio, desc: "Audio - Phil Collins"} + - {id: 30, cat: Audio, desc: "Audio - Ray Wilson"} + - {id: 26, cat: Audio, desc: "Audio - Steve Hackett"} + - {id: 32, cat: Audio, desc: "Audio - Tony Banks"} + - {id: 36, cat: Audio/Other, desc: "Misc - BrandX"} + - {id: 19, cat: Audio/Other, desc: "Misc - Misc"} + - {id: 38, cat: Audio/Other, desc: "Misc - Non-Music"} + - {id: 21, cat: Audio/Video, desc: "Video - Genesis"} + - {id: 29, cat: Audio/Video, desc: "Video - Mike And The Mechanics"} + - {id: 23, cat: Audio/Video, desc: "Video - Peter Gabriel"} + - {id: 25, cat: Audio/Video, desc: "Video - Phil Collins"} + - {id: 31, cat: Audio/Video, desc: "Video - Ray Wilson"} + - {id: 27, cat: Audio/Video, desc: "Video - Steve Hackett"} + - {id: 33, cat: Audio/Video, desc: "Video - Tony Banks"} + + modes: + search: [q] + music-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 + name: title + size: size + seeders: seeders + - 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 }}" + error: + - selector: table.bblock:contains("Access Denied") + test: + path: index.php + selector: a[href="account-logout.php"] + +search: + paths: + # https://torrent.genesis-movement.org/torrents-search.php?c20=1&c24=1&search=&cat=0&tour=0&incldead=1&freeleech=0&lang=0&owner=0 + - path: torrents-search.php + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + search: "{{ .Keywords }}" + # 0 all + tour: 0 + # 0 active, 1 incldead, 2 onlydead + incldead: 1 + # 0 any, 1 notfree, 2 onlyfree + freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" + # 0 all, 1 English, 2 French, 3 German, 4 Italian, 5 Japanese, 6 Spanish, 7 Russian + lang: 0 + # 0 all + owner: 0 + sort: "{{ .Config.sort }}" + order: "{{ .Config.type }}" + + rows: + selector: table[class="ttable_headinner"] > tbody > tr:not(:has(td.ttable_head)) + after: 1 + + 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: + selector: div[id^="kt"] > table > tbody > tr > td:contains("Date Added:") + filters: + - name: regexp + args: "(\\d{2}-\\d{2}-\\d{4} at \\d{2}:\\d{2}:\\d{2})" + - name: replace + args: [" at ", " "] + - name: append + args: " +00:00" # auto adjusted by site account profile + - name: dateparse + args: "02-01-2006 15:04:05 -07:00" + size: + selector: td:nth-last-child(6) + grabs: + selector: td:nth-last-child(5) + seeders: + selector: td:nth-last-child(4) + leechers: + selector: td:nth-last-child(3) + downloadvolumefactor: + case: + a[title="FreeLeech!"]: 0 + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.0 +# TorrentTrader