Add searchproviders.yml

master
Jim Joyce 3 years ago
parent 5b5cdcbdd3
commit c814c3ab4c
  1. 23
      searchproviders.yml
  2. 0
      src/main/java/moe/nekojimi/musicsearcher/Main.java

@ -0,0 +1,23 @@
- name: Soundcloud
type: WebScraperProvider
search_url: https://soundcloud.com/search/sounds?q=$QUERY
result_item: li.searchList__item
result_fields:
artist: .soundTitle__username
title: .soundTitle__title
link_href: a.soundTitle__title
- name: Bandcamp
type: WebScraperProvider
search_url: https://bandcamp.com/search?q=$QUERY&item_type
result_item: li.searchresult
result_fields:
title: .heading
link_href: .heading a
album_artist: .subhead
# - name: Youtube
# search_url:
# result_item:
# result_fields:
# title:
# link_href:
# album_artist:
Loading…
Cancel
Save