FunkTorrents: add MP3+Lossless mapping

This commit is contained in:
kaso17 2017-01-19 12:59:08 +01:00
parent 12c421b6db
commit 3439654059
1 changed files with 7 additions and 1 deletions

View File

@ -44,6 +44,8 @@
11: Audio # Trance
36: Audio # Trip-Hop
24: Audio # World/Ethnic
3010: Audio/MP3
3040: Audio/Lossless
modes:
search: [q]
@ -63,7 +65,7 @@
search:
path: /browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
#$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: 1
rows:
@ -80,6 +82,10 @@
filters:
- name: querystring
args: cat
category|optional:
case:
a[href="/browse.php?ext=1&bitrate=Lossless"]: "3040"
a[href="/browse.php?ext=1&format=MP3"]: "3010"
details:
selector: a[href^="details.php?id="]
attribute: href