diff --git a/searchproviders.yml b/searchproviders.yml new file mode 100644 index 0000000..d962bc2 --- /dev/null +++ b/searchproviders.yml @@ -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: diff --git a/src/main/java/moe/nekojimi/javamaventemplate/Main.java b/src/main/java/moe/nekojimi/musicsearcher/Main.java similarity index 100% rename from src/main/java/moe/nekojimi/javamaventemplate/Main.java rename to src/main/java/moe/nekojimi/musicsearcher/Main.java