parent
66cdca8f0d
commit
5c814b4cd3
@ -1,21 +1,64 @@ |
|||||||
|
#- 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 |
- name: Soundcloud |
||||||
search_url: https://soundcloud.com/search/sounds?q=$QUERY |
abbr: SC |
||||||
result_item: li.searchList__item |
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: |
result_fields: |
||||||
artist: .soundTitle__username |
title: a |
||||||
title: .soundTitle__title |
link: a |
||||||
link_href: a.soundTitle__title |
|
||||||
- name: Bandcamp |
- name: Bandcamp |
||||||
search_url: https://bandcamp.com/search?q=$QUERY&item_type |
abbr: BC |
||||||
result_item: li.searchresult |
type: WebScraperSearcher |
||||||
|
search_url: https://bandcamp.com/search |
||||||
|
search_fields: |
||||||
|
query: q |
||||||
|
format: html |
||||||
|
result_selector: li.searchresult |
||||||
result_fields: |
result_fields: |
||||||
title: .heading |
title: .heading |
||||||
link_href: .heading a |
link: .heading a |
||||||
album_artist: .subhead |
album_artist: .subhead |
||||||
# - name: Youtube |
|
||||||
# search_url: |
- name: Jamendo |
||||||
# result_item: |
abbr: JM |
||||||
# result_fields: |
type: WebScraperSearcher |
||||||
# title: |
search_url: https://api.jamendo.com/v3.0/tracks/?format=jsonpretty&limit=10&include=musicinfo&groupby=artist_id |
||||||
# link_href: |
search_fields: |
||||||
# album_artist: |
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 |
||||||
|
Loading…
Reference in new issue