diff --git a/yt_dlp/extractor/vk.py b/yt_dlp/extractor/vk.py index 29c4de452..faf3e60b0 100644 --- a/yt_dlp/extractor/vk.py +++ b/yt_dlp/extractor/vk.py @@ -543,7 +543,7 @@ def _real_extract(self, url): 'uploader': ('md_author', {str}), 'uploader_id': (('author_id', 'authorId'), {str_or_none}, any), 'duration': ('duration', {int_or_none}), - 'chapters': ('time_codes', lambda _, v: isinstance(v.get('time'), int), { + 'chapters': ('time_codes', lambda _, v: isinstance(v['time'], int), { 'title': ('text', {str}), 'start_time': 'time', }),