forked from zaclys/searxng
[enh] soundcloud playlists
This commit is contained in:
parent
565db911a4
commit
7b6e5b5d14
@ -16,7 +16,7 @@ def response(resp):
|
||||
results = []
|
||||
search_res = loads(resp.text)
|
||||
for result in search_res.get('collection', []):
|
||||
if result['kind'] == 'track':
|
||||
if result['kind'] in ('track', 'playlist'):
|
||||
title = result['title']
|
||||
content = result['description']
|
||||
results.append({'url': result['permalink_url'], 'title': title, 'content': content})
|
||||
|
Loading…
Reference in New Issue
Block a user