From 613d05a6747c94dc97e80179d68b750c33d167ea Mon Sep 17 00:00:00 2001 From: Ryan Hayward Date: Mon, 21 May 2018 11:42:41 -0500 Subject: [PATCH] fix for issue-15310 Found that _real_extract(...) was not converting id from int to str. Fixed by wrapping fragment in compat_str() --- youtube_dl/extractor/audiomack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/audiomack.py b/youtube_dl/extractor/audiomack.py index f3bd4d444..62049b921 100644 --- a/youtube_dl/extractor/audiomack.py +++ b/youtube_dl/extractor/audiomack.py @@ -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'],