Merge pull request #2365 from dalf/fix-soundcloud

[fix] soundclound: accept result without content
dependabot/pip/master/sphinx-6.1.3
Alexandre Flament 4 years ago committed by GitHub
commit 13d3004703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save