Jackett/src/Jackett.Common/Definitions/rockbox.yml

82 lines
2.0 KiB
YAML
Raw Normal View History

2018-10-11 21:08:33 +00:00
---
site: RockBox
name: RockBox Rock/Metal Tracker
2018-10-12 04:15:19 +00:00
description: "RockBox Semi-Private site dedicated to HEAVY METAL/ROCK MUSIC. This definition is for the English site."
2018-10-11 21:08:33 +00:00
language: en-us
2018-10-12 04:15:19 +00:00
type: semi-private
2018-10-11 21:08:33 +00:00
encoding: UTF-8
links:
- https://rawkbawx.rocks/
caps:
categories:
"Music": Audio
modes:
search: [q]
music-search: [q, album, artist, label, year]
2018-10-12 04:15:19 +00:00
login:
path: login.php
method: form
form: form[action="login.php?returnto=index.php"]
inputs:
uid: "{{ .Config.username }}"
pwd: "{{ .Config.password }}"
error:
- selector: div.errorSummary
message:
selector: div.errorSummary ul li
test:
path: index.php
selector: a[href="logout.php"]
2018-10-11 21:08:33 +00:00
search:
paths:
- path: torrents.php
2018-10-12 04:15:19 +00:00
method: get
2018-10-11 21:08:33 +00:00
inputs:
search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
rows:
2019-06-09 01:48:45 +00:00
selector: table.lista[width="100%"] tbody tr:has(a[href^="download.php?id="])
2018-10-11 21:08:33 +00:00
fields:
title:
selector: td a[href^="details.php?id="]
details:
selector: td a[href^="details.php?id="]
attribute: href
comments:
2018-10-11 21:08:33 +00:00
selector: td a[href^="details.php?id="]
attribute: href
download:
selector: td a[href^="download.php?id="]
attribute: href
# dates come in two flavours:
2018-10-11 21:08:33 +00:00
date:
# 13/10/2018
selector: td:nth-child(6):contains("/")
optional: true
filters:
- name: dateparse
args: "02/01/2006"
date:
# 1 hour ago, 2 days ago, 3 weeks ago etc
selector: td:nth-child(6):not(:contains("/"))
optional: true
filters:
- name: timeago
size:
2018-10-11 21:08:33 +00:00
selector: td:nth-child(7)
seeders:
selector: td:nth-child(9)
2018-10-12 04:15:19 +00:00
leechers:
2018-10-11 21:08:33 +00:00
selector: td:nth-child(10)
grabs:
2018-10-12 04:15:19 +00:00
selector: td:nth-child(11)
2018-10-11 21:08:33 +00:00
category:
text: "Music"
downloadvolumefactor:
2018-10-12 04:15:19 +00:00
text: "1"
2018-10-11 21:08:33 +00:00
uploadvolumefactor:
text: "1"