mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-07-22 17:37:16 +00:00
[ie/youtube:tab] Fix metadata extraction (#16976)
Authored by: bashonly
This commit is contained in:
@@ -1152,6 +1152,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||
|
||||
def _get_count(self, data, *path_list):
|
||||
count_text = self._get_text(data, *path_list) or ''
|
||||
if count_text.lower().startswith('no '):
|
||||
return 0
|
||||
count = parse_count(count_text)
|
||||
if count is None:
|
||||
count = str_to_int(
|
||||
|
||||
Reference in New Issue
Block a user