From 7b6e5b5d144df8e9a9ac0deda09b95fc0293fef5 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Sun, 20 Oct 2013 00:52:32 +0200 Subject: [PATCH] [enh] soundcloud playlists --- searx/engines/soundcloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/soundcloud.py b/searx/engines/soundcloud.py index 5761d81c5..802b8b2be 100644 --- a/searx/engines/soundcloud.py +++ b/searx/engines/soundcloud.py @@ -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})