romanianmetaltorrents: update indexer (#14845)

This commit is contained in:
ilike2burnthing 2023-11-12 02:15:24 +00:00 committed by GitHub
parent 0767842c7a
commit 13e0b61d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 13 deletions

View File

@ -513,7 +513,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* Resurrect The Net * Resurrect The Net
* RetroFlix * RetroFlix
* RevolutionTT * RevolutionTT
* Romanian Metal Torrents (RMT) [![(invite needed)][inviteneeded]](#) * Romanian Metal Torrents (RMT)
* Rousi * Rousi
* SceneHD [![(invite needed)][inviteneeded]](#) * SceneHD [![(invite needed)][inviteneeded]](#)
* SceneLinks (SL) * SceneLinks (SL)

View File

@ -42,7 +42,7 @@ caps:
modes: modes:
search: [q] search: [q]
music-search: [q, artist] music-search: [q]
settings: settings:
- name: username - name: username
@ -55,6 +55,21 @@ settings:
type: checkbox type: checkbox
label: Search freeleech only label: Search freeleech only
default: false default: false
- name: sort
type: select
label: Sort requested from site
default: _
options:
_: created
7: seeders
5: size
- name: type
type: select
label: Order requested from site
default: desc
options:
desc: desc
asc: asc
login: login:
path: login.php path: login.php
@ -88,11 +103,14 @@ search:
paths: paths:
- path: browse.php - path: browse.php
inputs: inputs:
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
# 50 title, 100 description, 150 band search: "{{ .Keywords }}"
# 50 title, 100 description, 150 band - band is OR search instead of AND
tlt: 50 tlt: 50
# 0 active, 1 recommended, 2 incldead, 3 lossy, 4 lossless, 5 req, 6 free or half, 7 videos, 8 int RMT # 0 active, 1 recommended, 2 incldead, 3 lossy, 4 lossless, 5 req, 6 free or half, 7 videos, 8 int RMT
incldead: "{{ if .Config.freeleech }}6{{ else }}2{{ end }}" incldead: "{{ if .Config.freeleech }}6{{ else }}2{{ end }}"
sort: "{{ re_replace .Config.sort \"_\" \"\" }}"
type: "{{ .Config.type }}"
rows: rows:
selector: table.torrents_table tbody tr:has(a[href^="download2.php?id="]) selector: table.torrents_table tbody tr:has(a[href^="download2.php?id="])
@ -128,22 +146,28 @@ search:
date: date:
text: now text: now
size: size:
selector: td:nth-child(5) selector: td:nth-child(6)
artist:
selector: span.bandpropaganda a font
optional: true
description:
selector: span.bandpropaganda
remove: font
seeders: seeders:
selector: td:nth-child(6) selector: td:nth-child(7)
filters: filters:
- name: regexp - name: regexp
args: '([\d]+) seeders?' args: "(\\d+) seeders"
leechers: leechers:
selector: td:nth-child(7)
filters:
- name: regexp
args: "(\\d+) leechers"
grabs:
selector: td:nth-child(6) selector: td:nth-child(6)
filters: filters:
- name: regexp - name: regexp
args: '([\d]+) leechers?' args: "(\\d+) times"
grabs:
selector: td:nth-child(5)
filters:
- name: regexp
args: '([\d]+) times'
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src$="pic/freedownload.gif"]: 0 img[src$="pic/freedownload.gif"]: 0
@ -153,6 +177,8 @@ search:
case: case:
img[src$="pic/sticky2.gif"]: 1.5 img[src$="pic/sticky2.gif"]: 1.5
"*": 1 "*": 1
minimumratio:
text: 1.0
minimumseedtime: minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60) # 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800 text: 172800