diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index d84e8df335..f1c055f3b8 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -5370,10 +5370,12 @@ def _rich_entries(self, rich_grid_renderer): yield self.url_result( f'https://www.youtube.com/shorts/{video_id}', ie=YoutubeIE, video_id=video_id, - **traverse_obj(renderer, ('overlayMetadata', { - 'title': ('primaryText', 'content', {str}), - 'view_count': ('secondaryText', 'content', {parse_count}), - })), + **traverse_obj(renderer, { + 'title': (( + ('overlayMetadata', 'primaryText', 'content', {str}), + ('accessibilityText', {lambda x: re.fullmatch(r'(.+), (?:[\d,.]+(?:[KM]| million)?|No) views? - play Short', x)}, 1)), any), + 'view_count': ('overlayMetadata', 'secondaryText', 'content', {parse_count}), + }), thumbnails=self._extract_thumbnails(renderer, 'thumbnail', final_key='sources')) return