Преглед изворни кода

[audiomack] Stringify video id (closes #15310)

rhhayward пре 7 година
родитељ
комит
9ef5cdb5cb
1 измењених фајлова са 1 додато и 1 уклоњено
  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 {
-            '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'],