mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
romanianmetaltorrents: new selectors. resolves #14773
date is gone additional login error fix add cats add freeleech add mst
This commit is contained in:
@@ -11,13 +11,51 @@ legacylinks:
|
|||||||
- https://metal.stream.bike/
|
- https://metal.stream.bike/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categories:
|
categorymappings:
|
||||||
Music: Audio
|
- {id: 86, cat: Audio/Video, desc: "BluRay video"}
|
||||||
|
- {id: 84, cat: Audio/Video, desc: "HD video"}
|
||||||
|
- {id: 20, cat: Audio/Video, desc: "MusicDVD"}
|
||||||
|
- {id: 36, cat: Audio/Video, desc: "SD video"}
|
||||||
|
- {id: 63, cat: Audio, desc: "Discography/Album Pack"}
|
||||||
|
- {id: 65, cat: Audio, desc: "E-Learning"}
|
||||||
|
- {id: 51, cat: Audio, desc: "Alternative"}
|
||||||
|
- {id: 46, cat: Audio, desc: "Avant/Experimental"}
|
||||||
|
- {id: 38, cat: Audio, desc: "Black Metal"}
|
||||||
|
- {id: 45, cat: Audio, desc: "Darkwave/Ambient"}
|
||||||
|
- {id: 39, cat: Audio, desc: "Death Metal"}
|
||||||
|
- {id: 64, cat: Audio, desc: "Doom/Sludge"}
|
||||||
|
- {id: 40, cat: Audio, desc: "Gothic Metal"}
|
||||||
|
- {id: 71, cat: Audio, desc: "Grindcore"}
|
||||||
|
- {id: 85, cat: Audio, desc: "Groove"}
|
||||||
|
- {id: 74, cat: Audio, desc: "Hard Rock"}
|
||||||
|
- {id: 41, cat: Audio, desc: "Heavy Metal"}
|
||||||
|
- {id: 43, cat: Audio, desc: "Industrial/Goth"}
|
||||||
|
- {id: 73, cat: Audio, desc: "Melodic Death"}
|
||||||
|
- {id: 75, cat: Audio, desc: "Power Metal"}
|
||||||
|
- {id: 53, cat: Audio, desc: "Progressive Metal"}
|
||||||
|
- {id: 44, cat: Audio, desc: "Punk"}
|
||||||
|
- {id: 2, cat: Audio, desc: "Rock"}
|
||||||
|
- {id: 42, cat: Audio, desc: "Thrash Metal"}
|
||||||
|
- {id: 52, cat: Audio, desc: "Viking/Folk "}
|
||||||
|
- {id: 69, cat: Audio, desc: "[RMT Pack]"}
|
||||||
|
- {id: 54, cat: Audio, desc: "[V A/Compilation]"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
music-search: [q, artist]
|
music-search: [q, artist]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
method: form
|
method: form
|
||||||
@@ -32,16 +70,13 @@ login:
|
|||||||
error:
|
error:
|
||||||
- selector: ":root:contains(\"Wrong Code!\")"
|
- selector: ":root:contains(\"Wrong Code!\")"
|
||||||
message:
|
message:
|
||||||
text: Error, the security code is incorrect.
|
text: The security code is incorrect.
|
||||||
- selector: div.errorSummary
|
- selector: table.main:contains("Login failed!")
|
||||||
message:
|
|
||||||
selector: div.errorSummary ul li
|
|
||||||
test:
|
test:
|
||||||
path: browse.php
|
path: browse.php
|
||||||
selector: a[href="logout.php"]
|
selector: a[href="logout.php"]
|
||||||
|
|
||||||
download:
|
download:
|
||||||
method: get
|
|
||||||
before:
|
before:
|
||||||
path: login.php
|
path: login.php
|
||||||
method: post
|
method: post
|
||||||
@@ -52,21 +87,30 @@ download:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
method: get
|
|
||||||
inputs:
|
inputs:
|
||||||
"search": "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
|
# 50 title, 100 description, 150 band
|
||||||
|
tlt: 50
|
||||||
|
# 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 }}"
|
||||||
|
|
||||||
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="])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
|
category:
|
||||||
|
selector: a[href^="browse.php?cat="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: cat
|
||||||
title:
|
title:
|
||||||
selector: td a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
details:
|
details:
|
||||||
selector: td a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: td a[href^="download2.php?id="]
|
selector: a[href^="download2.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
@@ -82,27 +126,24 @@ search:
|
|||||||
- name: replace
|
- name: replace
|
||||||
args: ["./pic/noposter.jpg", ""]
|
args: ["./pic/noposter.jpg", ""]
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(8) > span
|
text: now
|
||||||
attribute: title
|
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(5)
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(6)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: '([\d]+) seeders?'
|
args: '([\d]+) seeders?'
|
||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(6)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: '([\d]+) leechers?'
|
args: '([\d]+) leechers?'
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(5)
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: '([\d]+) times'
|
args: '([\d]+) times'
|
||||||
category:
|
|
||||||
text: Music
|
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src$="pic/freedownload.gif"]: 0
|
img[src$="pic/freedownload.gif"]: 0
|
||||||
@@ -112,4 +153,7 @@ search:
|
|||||||
case:
|
case:
|
||||||
img[src$="pic/sticky2.gif"]: 1.5
|
img[src$="pic/sticky2.gif"]: 1.5
|
||||||
"*": 1
|
"*": 1
|
||||||
# engine tbd
|
minimumseedtime:
|
||||||
|
# 2 days (as seconds = 2 x 24 x 60 x 60)
|
||||||
|
text: 172800
|
||||||
|
# engine n/a
|
||||||
|
Reference in New Issue
Block a user