A feature-rich command-line audio/video downloader
[vk] Make view count optional (closes #14979)
Sergey M․498a8a4ca56e
diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.pyindex 0d8376522d..d4838b3e5f 100644--- a/youtube_dl/extractor/vk.py+++ b/youtube_dl/extractor/vk.py@@ -414,7 +414,7 @@ class VKIE(VKBaseIE):view_count = str_to_int(self._search_regex(r'class=["\']mv_views_count[^>]+>\s*([\d,.]+)',- info_page, 'view count', fatal=False))+ info_page, 'view count', default=None))formats = []for format_id, format_url in data.items():