Discord bot that plays music from every website ever via youtube-dl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chords/searchproviders.yml

64 lines
1.4 KiB

#- name: Soundcloud
#abbr:SC
#type: ApiSearcher
#search_url: https://api.soundcloud.com/tracks?access=playable&limit=10&linked_partitioning=true
#search_fields:
#query: q
#format: json
#result_array: collection
#result_fields:
#title: title
#link: uri
- name: Soundcloud
abbr: SC
type: WebScraperSearcher
search_url: https://soundcloud.com/search/sounds
search_fields:
query: q
format: html
result_selector: "#app > noscript:nth-child(6) > ul:nth-child(2) > li"
result_fields:
title: a
link: a
- name: Bandcamp
abbr: BC
type: WebScraperSearcher
search_url: https://bandcamp.com/search
search_fields:
query: q
format: html
result_selector: li.searchresult
result_fields:
title: .heading
link: .heading a
album_artist: .subhead
- name: Jamendo
abbr: JM
type: WebScraperSearcher
search_url: https://api.jamendo.com/v3.0/tracks/?format=jsonpretty&limit=10&include=musicinfo&groupby=artist_id
search_fields:
query: search
secret: client_id
artist: artist_name
album: album_name
genre: tags
format: json
result_selector: /results
result_fields:
title: /name
artist: /artist_name
album: /album_name
link: /shareurl
#- name: Youtube
#abbr: YT
#type: SearchHackSearcher
#site: youtube.com/watch
#- name: Spotify
#abbr: SP
#type: SearchHackSearcher
#site: open.spotify.com/track