diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-09-27 21:55:51 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-09-27 21:55:51 +0700 |
commit | 1a2fbe322ee2d711b474f32a7d3f331791fb1881 (patch) | |
tree | eed96cd7721645c54657cae3a1e0a11a0b9dc763 | |
parent | f9dd86a112835e04e271e8d1d844f250e6ff0c5e (diff) |
[periscope] Treat timed_out state as finished stream
-rw-r--r-- | youtube_dl/extractor/periscope.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/periscope.py b/youtube_dl/extractor/periscope.py index e8b2f11c6..61043cad5 100644 --- a/youtube_dl/extractor/periscope.py +++ b/youtube_dl/extractor/periscope.py @@ -87,7 +87,7 @@ class PeriscopeIE(PeriscopeBaseIE): 'ext': 'flv' if format_id == 'rtmp' else 'mp4', } if format_id != 'rtmp': - f['protocol'] = 'm3u8_native' if state == 'ended' else 'm3u8' + f['protocol'] = 'm3u8_native' if state in ('ended', 'timed_out') else 'm3u8' formats.append(f) self._sort_formats(formats) |