Merge remote-tracking branch 'Boris-de/wdrmaus_fix#8562'
[youtube-dl] / youtube_dl / downloader / hls.py
index 049fb78ce90b956b51932276aecb947d94a78a33..54f2108e964b5eb70609b15cc6e0589036931235 100644 (file)
@@ -29,10 +29,10 @@ class HlsFD(FragmentFD):
             # r'#EXT-X-MEDIA-SEQUENCE:(?!0$)',  # live streams [3]
 
             # This heuristic also is not correct since segments may not be appended as well.
-            # Twitch vods have EXT-X-PLAYLIST-TYPE:EVENT despite no segments will definitely
-            # be appended to the end of the playlist.
+            # Twitch vods of finished streams have EXT-X-PLAYLIST-TYPE:EVENT despite
+            # no segments will definitely be appended to the end of the playlist.
             # r'#EXT-X-PLAYLIST-TYPE:EVENT',  # media segments may be appended to the end of
-                                              # event media playlists [4]
+            #                                 # event media playlists [4]
 
             # 1. https://tools.ietf.org/html/draft-pantos-http-live-streaming-17#section-4.3.2.4
             # 2. https://tools.ietf.org/html/draft-pantos-http-live-streaming-17#section-4.3.2.2