]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/slideslive.py
[cleanup] Fix misc bugs (#8968)
[yt-dlp.git] / yt_dlp / extractor / slideslive.py
index df2af3b35d25d540c171e7695f69e8639b8bb90a..c012dee593b028a7274d93efba69514278af7d53 100644 (file)
@@ -386,7 +386,7 @@ def _extract_custom_m3u8_info(self, m3u8_data):
             if not line.startswith('#EXT-SL-'):
                 continue
             tag, _, value = line.partition(':')
-            key = lookup.get(tag.lstrip('#EXT-SL-'))
+            key = lookup.get(tag[8:])
             if not key:
                 continue
             m3u8_dict[key] = value