1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-14 07:37:25 +08:00

Fix for issue 15310

Found that _real_extract(...) was not converting id from int to string.
Wrapped it in compat_str(), which fixed the alarming message.
This commit is contained in:
Ryan Hayward 2018-05-21 11:31:01 -05:00
parent d81ffc3aa0
commit f4dd4b9b81

View File

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