1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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 = []