generated from Nekojimi/JavaMavenTemplate
Compare commits
2 Commits
c60d1bfdfa
...
d38c2ea164
Author | SHA1 | Date |
---|---|---|
|
d38c2ea164 | |
|
547fe438a6 |
22
pom.xml
22
pom.xml
|
@ -45,12 +45,34 @@
|
|||
<groupId>com.amihaiemil.web</groupId>
|
||||
<artifactId>eo-yaml</artifactId>
|
||||
<version>5.2.3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>javax.json</groupId>
|
||||
<artifactId>javax.json-api</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.json</groupId>
|
||||
<artifactId>json</artifactId>
|
||||
<version>20201115</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>4.5.13</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.json</groupId>
|
||||
<artifactId>javax.json-api</artifactId>
|
||||
<version>1.1.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.glassfish</groupId>
|
||||
<artifactId>javax.json</artifactId>
|
||||
<version>1.1.4</version>
|
||||
<classifier>module</classifier>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<name>MusicSearcher</name>
|
||||
</project>
|
|
@ -1,53 +1,64 @@
|
|||
#- 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
|
||||
#search_url: https://api.soundcloud.com/tracks?access=playable&limit=10&linked_partitioning=true
|
||||
#search_fields:
|
||||
#query: q
|
||||
#format: json
|
||||
#result_array: collection
|
||||
#result_field_names:
|
||||
#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?q=$QUERY&item_type
|
||||
search_url: https://bandcamp.com/search
|
||||
search_fields:
|
||||
query: q
|
||||
format: html
|
||||
result_selector: li.searchresult
|
||||
result_field_selectors:
|
||||
result_fields:
|
||||
title: .heading
|
||||
link: .heading a
|
||||
album_artist: .subhead
|
||||
#- name: Youtube
|
||||
|
||||
- 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
|
||||
#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
|
||||
#type: SearchHackSearcher
|
||||
#site: youtube.com/watch
|
||||
|
||||
#- name: Spotify
|
||||
#abbr: SP
|
||||
#type: SearchHackSearcher
|
||||
#site: open.spotify.com/track
|
||||
|
|
Loading…
Reference in New Issue