A feature-rich command-line audio/video downloader
[periscope] Treat timed_out state as finished stream
Sergey M․1a2fbe322ee2
diff --git a/youtube_dl/extractor/periscope.py b/youtube_dl/extractor/periscope.pyindex e8b2f11c6b..61043cad5c 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)