add soundpark a Russian music site. resolves #9748

This commit is contained in:
Garfield69 2021-10-19 06:21:56 +13:00
parent 1d84887622
commit 0958c3b50a
3 changed files with 94 additions and 1 deletions

View File

@ -221,6 +221,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* Sharewood
* SkTorrent
* SkTorrent-org
* SoundPark
* themixingbowl (TMB)
* Toloka.to
* Torrent-Explosiv

View File

@ -0,0 +1,93 @@
---
id: soundpark
name: SoundPark
description: "SoundPark is a Semi-Private RUSSIAN site for MUSIC compilations and albums"
language: ru-RU
type: semi-private
encoding: UTF-8
testlinktorrent: false
links:
- https://sound-park.world/
caps:
categorymappings:
- {id: 1, cat: Audio, desc: "Music"}
modes:
search: [q]
music-search: [q, album, artist]
settings:
- name: cookie
type: text
label: Cookie
- name: info
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
login:
method: cookie
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: personal/
download:
before:
pathselector:
selector: a.torrent_download
attribute: href
selectors:
- selector: p.attachment a
attribute: href
usebeforeresponse: true
search:
paths:
# https://sound-park.world/filter/?sort_method=1&sorting_type=undefined&genres=&qualities=&country_keyword=&countries=&releases=&start_year=&end_year=&search_keyword=
- path: filter/
inputs:
sort_method: 1
sorting_type: undefined
genres: ""
qualities: ""
country_keyword: ""
countries: ""
releases: ""
start_year: ""
end_year: ""
search_keyword: "{{ if or (.Query.Artist) (.Query.Album) }}{{ or (.Query.Artist) (.Query.Album) }}{{ else }}{{ .Keywords }}{{ end }}"
rows:
selector: div.album
# filters:
# - name: andmatch
fields:
category:
text: 1
title:
selector: h3
details:
selector: h3 > a
attribute: href
download:
selector: h3 > a
attribute: href
poster:
selector: picture img
attribute: src
date:
text: now
size:
text: "128 MB"
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine wordpress 5.8

View File

@ -433,7 +433,6 @@ namespace Jackett.Updater
"Definitions/skytorrentsclone.yml", // renamed to skytorrents-lol
"Definitions/skytorrentsclone2.yml", // renamed to skytorrents-to
"Definitions/solidtorrents.yml", // migrated to C#
"Definitions/soundpark.yml", // to be migrated to C#
"Definitions/spacetorrent.yml",
"Definitions/speed-share.yml",
"Definitions/t411.yml",