From 579190b4bd15e5da54fb68f72e0e08a32aab0713 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 12 Oct 2018 10:31:18 +1300 Subject: [PATCH] RockBox: public heavy metal music tracker. resolves #3009 --- README.md | 1 + src/Jackett.Common/Definitions/rockbox.yml | 32 ++++++---------------- 2 files changed, 9 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 92f28942b..24148613c 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Nyaa-Pantsu * Nyoo * RARBG + * RockBox * RuTor * ShowRSS * SkyTorrentsClone diff --git a/src/Jackett.Common/Definitions/rockbox.yml b/src/Jackett.Common/Definitions/rockbox.yml index 928dd0c6a..afc4e9919 100644 --- a/src/Jackett.Common/Definitions/rockbox.yml +++ b/src/Jackett.Common/Definitions/rockbox.yml @@ -1,9 +1,9 @@ --- site: RockBox name: RockBox Rock/Metal Tracker - description: "RockBox Semi-Private site dedicated to HEAVY METAL/ROCK MUSIC. This definition is for the English site." + description: "RockBox Public site dedicated to HEAVY METAL/ROCK MUSIC" language: en-us - type: semi-private + type: public encoding: UTF-8 links: - https://rawkbawx.rocks/ @@ -16,25 +16,11 @@ search: [q] music-search: [q, album, artist, label, year] - 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"] + settings: [] search: paths: - path: torrents.php - method: get inputs: search: "{{if .Query.Artist}}{{ .Query.Artist }}{{else}}{{ .Keywords }}{{end}}" rows: @@ -45,24 +31,22 @@ details: selector: td a[href^="details.php?id="] attribute: href - comments: # link to the comments of the torrent + comments: selector: td a[href^="details.php?id="] attribute: href download: selector: td a[href^="download.php?id="] attribute: href - filters: - - name: strdump # dump the HTML of each row to the log (for debugging purposes) date: selector: td:nth-child(6) - size: # size of the torrent (units are handled automatically) + size: selector: td:nth-child(7) seeders: - selector: td:nth-child(9) + selector: td:nth-child(8) leechers: + selector: td:nth-child(9) + grabs: selector: td:nth-child(10) - grabs: # number of downloads - selector: td:nth-child(11) category: text: "Music" downloadvolumefactor: