2
0
Эх сурвалжийг харах

[livestream] Video IDs should always be strings (#2234)

Yen Chi Hsuan 9 жил өмнө
parent
commit
7a46542f97

+ 1 - 1
youtube_dl/extractor/livestream.py

@@ -150,7 +150,7 @@ class LivestreamIE(InfoExtractor):
         }
         }
 
 
     def _extract_stream_info(self, stream_info):
     def _extract_stream_info(self, stream_info):
-        broadcast_id = stream_info['broadcast_id']
+        broadcast_id = compat_str(stream_info['broadcast_id'])
         is_live = stream_info.get('is_live')
         is_live = stream_info.get('is_live')
 
 
         formats = []
         formats = []