diff options
author | Sergey M․ <[email protected]> | 2017-12-15 22:53:56 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2017-12-15 22:53:56 +0700 |
commit | 498a8a4ca56e66adb84f8f1488c0239d048c7adc (patch) | |
tree | ecc5ebdf4d297290fb43db2cba129caae95d332b | |
parent | d05ba4b89e195ed18e8d51561649712f945769b9 (diff) | |
download | youtube-dl-498a8a4ca56e66adb84f8f1488c0239d048c7adc.tar.gz youtube-dl-498a8a4ca56e66adb84f8f1488c0239d048c7adc.zip |
[vk] Make view count optional (closes #14979)
-rw-r--r-- | youtube_dl/extractor/vk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 0d8376522..d4838b3e5 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(): |