generated from Nekojimi/JavaMavenTemplate
Compare commits
No commits in common. "d38c2ea1648e7882ea164ed874560d980ade4e8b" and "c60d1bfdfa1b97fc1e239bf07b3967ec68b27555" have entirely different histories.
d38c2ea164
...
c60d1bfdfa
22
pom.xml
22
pom.xml
|
@ -45,34 +45,12 @@
|
||||||
<groupId>com.amihaiemil.web</groupId>
|
<groupId>com.amihaiemil.web</groupId>
|
||||||
<artifactId>eo-yaml</artifactId>
|
<artifactId>eo-yaml</artifactId>
|
||||||
<version>5.2.3</version>
|
<version>5.2.3</version>
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<groupId>javax.json</groupId>
|
|
||||||
<artifactId>javax.json-api</artifactId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.json</groupId>
|
<groupId>org.json</groupId>
|
||||||
<artifactId>json</artifactId>
|
<artifactId>json</artifactId>
|
||||||
<version>20201115</version>
|
<version>20201115</version>
|
||||||
</dependency>
|
</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>
|
</dependencies>
|
||||||
<name>MusicSearcher</name>
|
<name>MusicSearcher</name>
|
||||||
</project>
|
</project>
|
|
@ -1,64 +1,53 @@
|
||||||
|
#- 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
|
#- name: Soundcloud
|
||||||
#abbr:SC
|
#abbr:SC
|
||||||
#type: ApiSearcher
|
#type: ApiSearcher
|
||||||
#search_url: https://api.soundcloud.com/tracks?access=playable&limit=10&linked_partitioning=true
|
#search_url: https://api.soundcloud.com/tracks?q=$QUERY&access=playable&limit=10&linked_partitioning=true
|
||||||
#search_fields:
|
|
||||||
#query: q
|
|
||||||
#format: json
|
#format: json
|
||||||
#result_array: collection
|
#result_array: collection
|
||||||
#result_fields:
|
#result_field_names:
|
||||||
#title: title
|
#title: title
|
||||||
#link: uri
|
#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
|
- name: Bandcamp
|
||||||
abbr: BC
|
abbr: BC
|
||||||
type: WebScraperSearcher
|
type: WebScraperSearcher
|
||||||
search_url: https://bandcamp.com/search
|
search_url: https://bandcamp.com/search?q=$QUERY&item_type
|
||||||
search_fields:
|
|
||||||
query: q
|
|
||||||
format: html
|
|
||||||
result_selector: li.searchresult
|
result_selector: li.searchresult
|
||||||
result_fields:
|
result_field_selectors:
|
||||||
title: .heading
|
title: .heading
|
||||||
link: .heading a
|
link: .heading a
|
||||||
album_artist: .subhead
|
album_artist: .subhead
|
||||||
|
#- name: Youtube
|
||||||
- name: Jamendo
|
#abbr: YT
|
||||||
abbr: JM
|
#search_url: https://www.youtube.com/results?search_query=$QUERY
|
||||||
type: WebScraperSearcher
|
#result_item: ytd-video-renderer.ytd-item-section-renderer
|
||||||
search_url: https://api.jamendo.com/v3.0/tracks/?format=jsonpretty&limit=10&include=musicinfo&groupby=artist_id
|
#result_fields:
|
||||||
search_fields:
|
#title:
|
||||||
query: search
|
#link_href:
|
||||||
secret: client_id
|
#album_artist:
|
||||||
artist: artist_name
|
#- name: Jamendo
|
||||||
album: album_name
|
#abbr: JM
|
||||||
genre: tags
|
#type: WebScraperSearcher
|
||||||
format: json
|
#search_url: https://www.jamendo.com/search/tracks?q=$QUERY
|
||||||
result_selector: /results
|
#result_selector: li.active-result
|
||||||
result_fields:
|
#result_field_selectors:
|
||||||
title: /name
|
#link: a.js-search-item-link
|
||||||
artist: /artist_name
|
#title_artist: a.js-search-item-link
|
||||||
album: /album_name
|
#- Name: Jamendo
|
||||||
link: /shareurl
|
#abbr: JM
|
||||||
|
#type: ApiSearcher
|
||||||
#- name: Youtube
|
#search_url: https://api.jamendo.com/v3.0/tracks/?client_id=$SECRET&format=jsonpretty&limit=10&include=musicinfo&groupby=artist_id&search=$QUERY
|
||||||
#abbr: YT
|
#format: json
|
||||||
#type: SearchHackSearcher
|
#result_array: results
|
||||||
#site: youtube.com/watch
|
#result_field_names:
|
||||||
|
#title: name
|
||||||
#- name: Spotify
|
#artist: artist_name
|
||||||
#abbr: SP
|
#album: album_name
|
||||||
#type: SearchHackSearcher
|
|
||||||
#site: open.spotify.com/track
|
|
||||||
|
|
Loading…
Reference in New Issue