diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-07 20:25:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 20:25:17 +0100 |
commit | 13d3004703013d44fe39ab73f77c3dbe2161b6f7 (patch) | |
tree | 248b66b49c4e7ac712f9ba77423db43bafa0fc44 /searx/engines | |
parent | 62073c0e1dcb41a9b6f01fa5321baaca291adbaa (diff) | |
parent | deb1bde20d4839141053a9d5cae4cdd3339a028e (diff) | |
download | searxng-13d3004703013d44fe39ab73f77c3dbe2161b6f7.tar.gz searxng-13d3004703013d44fe39ab73f77c3dbe2161b6f7.zip |
Merge pull request #2365 from dalf/fix-soundcloud
[fix] soundclound: accept result without content
Diffstat (limited to 'searx/engines')
-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 b1e01759f..84ff21a88 100644 --- a/searx/engines/soundcloud.py +++ b/searx/engines/soundcloud.py @@ -91,7 +91,7 @@ def response(resp): for result in search_res.get('collection', []): if result['kind'] in ('track', 'playlist'): title = result['title'] - content = result['description'] + content = result['description'] or '' publishedDate = parser.parse(result['last_modified']) uri = quote_plus(result['uri']) embedded = embedded_url.format(uri=uri) |