[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 @@ def _extract_video_info(self, video_data):
} }
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 = []