Browse Source

[audiomack] Stringify video id (closes #15310)

rhhayward 7 years ago
parent
commit
9ef5cdb5cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/audiomack.py

+ 1 - 1
youtube_dl/extractor/audiomack.py

@@ -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'],