1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-24 00:49:06 +00:00

[cleanup] Fix infodict returned fields (#8906)

Authored by: seproDev
This commit is contained in:
sepro
2024-03-08 23:36:41 +01:00
committed by GitHub
parent dfd8c0b696
commit f4f9f6d00e
74 changed files with 230 additions and 274 deletions

View File

@@ -22,7 +22,7 @@ class VideofyMeIE(InfoExtractor):
'uploader': 'VideofyMe',
'uploader_id': 'thisisvideofyme',
'view_count': int,
'likes': int,
'like_count': int,
'comment_count': int,
},
}
@@ -45,6 +45,6 @@ class VideofyMeIE(InfoExtractor):
'uploader': blog.get('name'),
'uploader_id': blog.get('identifier'),
'view_count': int_or_none(self._search_regex(r'([0-9]+)', video.get('views'), 'view count', fatal=False)),
'likes': int_or_none(video.get('likes')),
'like_count': int_or_none(video.get('likes')),
'comment_count': int_or_none(video.get('nrOfComments')),
}