diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-05-23 01:38:00 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-05-23 01:40:11 +0800 |
commit | 7a46542f97c99e47ad86707bf21628630c8d871e (patch) | |
tree | 385430adc9b18aaa1bcc0836664e1807cc63a4ad /youtube_dl | |
parent | eb7941e3e6e92bac26f5d21525fc8ac89c934abe (diff) |
[livestream] Video IDs should always be strings (#2234)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/livestream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/livestream.py b/youtube_dl/extractor/livestream.py index eada7c299..0edc06c43 100644 --- a/youtube_dl/extractor/livestream.py +++ b/youtube_dl/extractor/livestream.py @@ -150,7 +150,7 @@ class LivestreamIE(InfoExtractor): } 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') formats = [] |