1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-05 01:44:33 +01:00

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

This commit is contained in:
Yen Chi Hsuan 2016-05-23 01:38:00 +08:00
parent eb7941e3e6
commit 7a46542f97
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

View File

@ -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 = []