|
|
|
#- name: Soundcloud
|
|
|
|
#abbr: SC
|
|
|
|
#type: WebScraperSearcher
|
|
|
|
#search_url: https://soundcloud.com/search/sounds?q=$QUERY
|
|
|
|
#result_selector: li.searchList__item
|
|
|
|
#result_field_selectors:
|
|
|
|
#artist: .soundTitle__username
|
|
|
|
#title: .soundTitle__title
|
|
|
|
#link: a.soundTitle__title
|
|
|
|
#- name: Soundcloud
|
|
|
|
#abbr:SC
|
|
|
|
#type: ApiSearcher
|
|
|
|
#search_url: https://api.soundcloud.com/tracks?q=$QUERY&access=playable&limit=10&linked_partitioning=true
|
|
|
|
#format: json
|
|
|
|
#result_array: collection
|
|
|
|
#result_field_names:
|
|
|
|
#title: title
|
|
|
|
#link: uri
|
|
|
|
- name: Bandcamp
|
|
|
|
abbr: BC
|
|
|
|
type: WebScraperSearcher
|
|
|
|
search_url: https://bandcamp.com/search?q=$QUERY&item_type
|
|
|
|
result_selector: li.searchresult
|
|
|
|
result_field_selectors:
|
|
|
|
title: .heading
|
|
|
|
link: .heading a
|
|
|
|
album_artist: .subhead
|
|
|
|
#- name: Youtube
|
|
|
|
#abbr: YT
|
|
|
|
#search_url: https://www.youtube.com/results?search_query=$QUERY
|
|
|
|
#result_item: ytd-video-renderer.ytd-item-section-renderer
|
|
|
|
#result_fields:
|
|
|
|
#title:
|
|
|
|
#link_href:
|
|
|
|
#album_artist:
|
|
|
|
#- name: Jamendo
|
|
|
|
#abbr: JM
|
|
|
|
#type: WebScraperSearcher
|
|
|
|
#search_url: https://www.jamendo.com/search/tracks?q=$QUERY
|
|
|
|
#result_selector: li.active-result
|
|
|
|
#result_field_selectors:
|
|
|
|
#link: a.js-search-item-link
|
|
|
|
#title_artist: a.js-search-item-link
|
|
|
|
#- Name: Jamendo
|
|
|
|
#abbr: JM
|
|
|
|
#type: ApiSearcher
|
|
|
|
#search_url: https://api.jamendo.com/v3.0/tracks/?client_id=$SECRET&format=jsonpretty&limit=10&include=musicinfo&groupby=artist_id&search=$QUERY
|
|
|
|
#format: json
|
|
|
|
#result_array: results
|
|
|
|
#result_field_names:
|
|
|
|
#title: name
|
|
|
|
#artist: artist_name
|
|
|
|
#album: album_name
|