[audiomack] Stringify video id (closes #15310)
authorrhhayward <rhhayward@att.net>
Fri, 25 May 2018 19:13:29 +0000 (14:13 -0500)
committerSergey M <dstftw@gmail.com>
Fri, 25 May 2018 19:13:29 +0000 (02:13 +0700)
youtube_dl/extractor/audiomack.py

index f3bd4d4447f559a8bd924f7d796a1a9faf24b9d3..62049b921089d4a10cc9f71b625540f82ea7e3b6 100644 (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'],