Rockbox: back to semi-private (#3975)

This commit is contained in:
xfouloux
2018-10-12 15:15:19 +11:00
committed by garfield69
parent 35defc04e0
commit d956872d95

View File

@@ -1,9 +1,9 @@
--- ---
site: RockBox site: RockBox
name: RockBox Rock/Metal Tracker name: RockBox Rock/Metal Tracker
description: "RockBox Public site dedicated to HEAVY METAL/ROCK MUSIC" description: "RockBox Semi-Private site dedicated to HEAVY METAL/ROCK MUSIC. This definition is for the English site."
language: en-us language: en-us
type: public type: semi-private
encoding: UTF-8 encoding: UTF-8
links: links:
- https://rawkbawx.rocks/ - https://rawkbawx.rocks/
@@ -16,11 +16,25 @@
search: [q] search: [q]
music-search: [q, album, artist, label, year] music-search: [q, album, artist, label, year]
settings: [] 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"]
search: search:
paths: paths:
- path: torrents.php - path: torrents.php
method: get
inputs: inputs:
search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}" search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}"
rows: rows:
@@ -31,7 +45,7 @@
details: details:
selector: td a[href^="details.php?id="] selector: td a[href^="details.php?id="]
attribute: href attribute: href
comments: comments: # link to the comments of the torrent
selector: td a[href^="details.php?id="] selector: td a[href^="details.php?id="]
attribute: href attribute: href
download: download:
@@ -39,17 +53,17 @@
attribute: href attribute: href
date: date:
selector: td:nth-child(6) selector: td:nth-child(6)
size: size: # size of the torrent (units are handled automatically)
selector: td:nth-child(7) selector: td:nth-child(7)
seeders: seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9) selector: td:nth-child(9)
grabs: leechers:
selector: td:nth-child(10) selector: td:nth-child(10)
grabs: # number of downloads
selector: td:nth-child(11)
category: category:
text: "Music" text: "Music"
downloadvolumefactor: downloadvolumefactor:
text: "0" text: "1"
uploadvolumefactor: uploadvolumefactor:
text: "1" text: "1"