1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 13:42:51 +08:00

fix for issue-15310

Found that _real_extract(...) was not converting id from int to str.
Fixed by wrapping fragment in compat_str()
This commit is contained in:
Ryan Hayward 2018-05-21 11:42:41 -05:00
parent d81ffc3aa0
commit 613d05a674

View File

@ -65,7 +65,7 @@ class AudiomackIE(InfoExtractor):
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'],