Skip to content

Commit

Permalink
jackett indexers as of b5e90d66fc4ab8e398b60efd7009548526ebd20e
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Jan 17, 2024
1 parent dec75d1 commit c4f5a2e
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 8 deletions.
176 changes: 176 additions & 0 deletions definitions/v7/rmhd.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 5 additions & 3 deletions definitions/v7/torrent9clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -33,6 +32,7 @@ legacylinks:
- https://www.torrent9.ink/
- https://www.torrent9.sk/
- https://www.torrent9.rs/
- https://www.torrent9.pm/

caps:
categorymappings:
Expand All @@ -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]
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions definitions/v7/torrentsir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -29,6 +27,8 @@ legacylinks:
- http://torrentsir128.com/
- https://torrentsir128.com/
- http://torrentsir129.com/
- https://torrentsir129.com/
- http://torrentsir130.com/

caps:
categorymappings:
Expand Down
4 changes: 2 additions & 2 deletions definitions/v9/torrent9clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -33,6 +32,7 @@ legacylinks:
- https://www.torrent9.ink/
- https://www.torrent9.sk/
- https://www.torrent9.rs/
- https://www.torrent9.pm/

caps:
categorymappings:
Expand Down

0 comments on commit c4f5a2e

Please sign in to comment.