From c4f5a2e446454501c5a264ba71fb460b9d7cfde2 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 17 Jan 2024 11:07:56 +0200 Subject: [PATCH] jackett indexers as of b5e90d66fc4ab8e398b60efd7009548526ebd20e --- definitions/v7/rmhd.yml | 176 +++++++++++++++++++++++++++++++ definitions/v7/torrent9clone.yml | 8 +- definitions/v7/torrentsir.yml | 6 +- definitions/v9/torrent9clone.yml | 4 +- 4 files changed, 186 insertions(+), 8 deletions(-) create mode 100644 definitions/v7/rmhd.yml diff --git a/definitions/v7/rmhd.yml b/definitions/v7/rmhd.yml new file mode 100644 index 000000000..140dfe13a --- /dev/null +++ b/definitions/v7/rmhd.yml @@ -0,0 +1,176 @@ +--- +id: rmhd +name: RM-HD +description: "RM-HD (remastered-hd) is a UKRAINIAN Private tracker for remastered MOVIES / TV / MUSIC" +language: uk-UA +type: private +encoding: UTF-8 +links: + - https://remastered-hd.org/ + +caps: + categorymappings: + - {id: 1, cat: Audio, desc: "HD Audio"} + - {id: 2, cat: Audio/Video, desc: "Music Video"} + - {id: 3, cat: TV/Anime, desc: "Animation"} + - {id: 4, cat: Movies, desc: "Movie"} + - {id: 5, cat: TV, desc: "TV Show"} + - {id: 6, cat: TV/Documentary, desc: "Documentary"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid] + movie-search: [q, imdbid] + 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: 4 + options: + 4: created + 7: seeders + 5: size + 1: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +login: + path: / + method: form + form: form#login + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + do_login: "" + error: + - selector: table:contains("Login failed") + - selector: table:contains("Error") + test: + path: / + selector: a[href="logout"] + +search: + paths: + - path: browse + inputs: + $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + # search in title + search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" + # search in description + dsearch: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}" + # 0 all, 1 simple, 2 silver, 3 gold, 4 diamond, 5 without seeders + incldead: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}" + sort: "{{ .Config.sort }}" + type: "{{ .Config.type }}" + + rows: + selector: table#pager > tbody[style="background:none;"] > tr:has(a[href^="details_"]) + + fields: + category: + selector: img + case: + img.audio: 1 + img.musvid: 2 + img.anime: 3 + img.movie: 4 + img.tvshow: 5 + img.docum: 6 + _ru: + selector: a[href="RU"] + optional: true + _ua: + selector: a[href="UA"] + optional: true + title: + selector: a[href^="details_"] + filters: + - name: append + args: "{{ if .Result._ru}} {{ .Result._ru }}{{ else }}{{ end }}" + - name: append + args: "{{ if .Result._ua}} {{ .Result._ua }}{{ else }}{{ end }}" + details: + selector: a[href^="details_"] + attribute: href + download: + selector: a[href^="details_"] + attribute: href + filters: + - name: replace + args: ["details_", "download_"] + date: + # Релиз залит: 1 января 2024 в 20:16:09 + selector: span:contains("Релиз залит") + filters: + - name: replace + args: ["Релиз залит:\xA0", ""] + - name: replace + args: [" в ", " "] + - name: replace + args: ["января", "January"] + - name: replace + args: ["февраля", "February"] + - name: replace + args: ["марта", "March"] + - name: replace + args: ["апреля", "April"] + - name: replace + args: ["мая", "May"] + - name: replace + args: ["июня", "June"] + - name: replace + args: ["июля", "July"] + - name: replace + args: ["августа", "August"] + - name: replace + args: ["сентября", "September"] + - name: replace + args: ["октября", "October"] + - name: replace + args: ["ноября", "November"] + - name: replace + args: ["декабря", "December"] + - name: append + args: " +03:00" # MSK + - name: dateparse + args: "d MMMM yyyy HH:mm:ss zzz" + grabs: + selector: span[title="Релиз скачен"] + size: + selector: div[valign="bottom"] > b + seeders: + selector: b[title^="Сидируют:"] + leechers: + selector: b[title^="Качают:"] + genre: + selector: table:last-of-type > tbody > tr:nth-child(2) > td + description: + text: "{{ .Result.genre }}" + downloadvolumefactor: + case: + b[style="color:#d08700"]: 0 # gold + b[style="color:#778899"]: 0.5 # silver + b[style="color:blue"]: 0 # diamond + "*": 1 + uploadvolumefactor: + case: + b[style="color:blue"]: 2 # diamond + "*": 1 +# TBDev diff --git a/definitions/v7/torrent9clone.yml b/definitions/v7/torrent9clone.yml index af01936c6..fb2170a70 100644 --- a/definitions/v7/torrent9clone.yml +++ b/definitions/v7/torrent9clone.yml @@ -8,14 +8,13 @@ encoding: UTF-8 followredirect: true # to fetch current domain use https://www.protege-torrent.com/Torrent9 links: - - https://www.torrent9.pm/ + - https://www.torrent9.st/ - https://torrent9.nocensor.cloud/ - https://torrent9.mrunblock.bond/ legacylinks: - https://www.protege-liens.net/ - https://www.rantop.org/ - https://torrent9.mrunblock.guru/ # redirects to 1337x - - http://www.torrent9.cm/ - https://www.torrent9.cm/ - https://torrent9.nocensor.art/ - https://torrent9.mrunblock.life/ @@ -33,6 +32,7 @@ legacylinks: - https://www.torrent9.ink/ - https://www.torrent9.sk/ - https://www.torrent9.rs/ + - https://www.torrent9.pm/ caps: categorymappings: @@ -46,6 +46,8 @@ caps: - {id: Jeux-PC, cat: PC/Games, desc: "PC Games"} - {id: Jeux-Consoles, cat: Console/XBox 360, desc: "Console Games"} - {id: Porno, cat: XXX, desc: "XXX"} + - {id: Sports, cat: TV/Sport, desc: "Sports"} + - {id: Spectacles, cat: TV/Other, desc: "Spectacles"} modes: search: [q] @@ -91,7 +93,7 @@ download: search: paths: - - path: "{{ if .Keywords }}/recherche/{{ .Keywords }}{{ else }}{{ end }}" + - path: "{{ if .Keywords }}recherche/{{ .Keywords }}{{ else }}derniers{{ end }}" keywordsfilters: # if searching for season packs swith S01 to saison 1 #9712 - name: re_replace diff --git a/definitions/v7/torrentsir.yml b/definitions/v7/torrentsir.yml index ab3a2434e..51ad028f5 100644 --- a/definitions/v7/torrentsir.yml +++ b/definitions/v7/torrentsir.yml @@ -7,10 +7,8 @@ type: public encoding: UTF-8 followredirect: true links: - - https://torrentsir129.com/ + - https://torrentsir130.com/ legacylinks: - - http://torrentsir120.com/ - - https://torrentsir120.com/ - http://torrentsir121.com/ - https://torrentsir121.com/ - http://torrentsir122.com/ @@ -29,6 +27,8 @@ legacylinks: - http://torrentsir128.com/ - https://torrentsir128.com/ - http://torrentsir129.com/ + - https://torrentsir129.com/ + - http://torrentsir130.com/ caps: categorymappings: diff --git a/definitions/v9/torrent9clone.yml b/definitions/v9/torrent9clone.yml index 6a5f274e6..8bb891930 100644 --- a/definitions/v9/torrent9clone.yml +++ b/definitions/v9/torrent9clone.yml @@ -8,14 +8,13 @@ encoding: UTF-8 followredirect: true # to fetch current domain use https://www.protege-torrent.com/Torrent9 links: - - https://www.torrent9.pm/ + - https://www.torrent9.st/ - https://torrent9.nocensor.cloud/ - https://torrent9.mrunblock.bond/ legacylinks: - https://www.protege-liens.net/ - https://www.rantop.org/ - https://torrent9.mrunblock.guru/ # redirects to 1337x - - http://www.torrent9.cm/ - https://www.torrent9.cm/ - https://torrent9.nocensor.art/ - https://torrent9.mrunblock.life/ @@ -33,6 +32,7 @@ legacylinks: - https://www.torrent9.ink/ - https://www.torrent9.sk/ - https://www.torrent9.rs/ + - https://www.torrent9.pm/ caps: categorymappings: