diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 99695e14f4..cd3aa52a0c 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -559,7 +559,7 @@ def extract(self, url): ie_result['__x_forwarded_for_ip'] = self._x_forwarded_for_ip subtitles = ie_result.get('subtitles') if (subtitles and 'live_chat' in subtitles - and 'no-live-chat' in self._downloader.params.get('compat_opts')): + and 'no-live-chat' in self._downloader.params.get('compat_opts', [])): del subtitles['live_chat'] return ie_result except GeoRestrictedError as e: