mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
[collegehumor] Extract like count
This commit is contained in:
parent
2a5b502364
commit
355271fb61
@ -88,6 +88,7 @@ def _real_extract(self, url):
|
||||
self._sort_formats(formats)
|
||||
|
||||
duration = int_or_none(vdata.get('duration'), 1000)
|
||||
like_count = int_or_none(vdata.get('likes'))
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
@ -97,4 +98,5 @@ def _real_extract(self, url):
|
||||
'formats': formats,
|
||||
'age_limit': age_limit,
|
||||
'duration': duration,
|
||||
'like_count': like_count,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user