0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-16 01:25:06 +00:00

[audiomack] Stringify video id (closes #15310)

This commit is contained in:
rhhayward 2018-05-25 14:13:29 -05:00 committed by Sergey M
parent 03fad17cb6
commit 9ef5cdb5cb

View file

@ -65,7 +65,7 @@ def _real_extract(self, url):
return {'_type': 'url', 'url': api_response['url'], 'ie_key': 'Soundcloud'} return {'_type': 'url', 'url': api_response['url'], 'ie_key': 'Soundcloud'}
return { return {
'id': api_response.get('id', album_url_tag), 'id': compat_str(api_response.get('id', album_url_tag)),
'uploader': api_response.get('artist'), 'uploader': api_response.get('artist'),
'title': api_response.get('title'), 'title': api_response.get('title'),
'url': api_response['url'], 'url': api_response['url'],