diff options
author | asciimoo <asciimoo@gmail.com> | 2013-10-20 00:52:32 +0200 |
---|---|---|
committer | asciimoo <asciimoo@gmail.com> | 2013-10-20 00:52:32 +0200 |
commit | 7b6e5b5d144df8e9a9ac0deda09b95fc0293fef5 (patch) | |
tree | 611f8cb2974795fa6cb68174b4e716bd16859025 /searx/engines/soundcloud.py | |
parent | 565db911a4ab98227d7d04f57974ffffa8bef402 (diff) | |
download | searxng-7b6e5b5d144df8e9a9ac0deda09b95fc0293fef5.tar.gz searxng-7b6e5b5d144df8e9a9ac0deda09b95fc0293fef5.zip |
[enh] soundcloud playlists
Diffstat (limited to 'searx/engines/soundcloud.py')
-rw-r--r-- | searx/engines/soundcloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |