mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 17:16:46 +00:00
[collegehumor] Extract like count
This commit is contained in:
parent
2a5b502364
commit
355271fb61
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ class CollegeHumorIE(InfoExtractor):
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
duration = int_or_none(vdata.get('duration'), 1000)
|
duration = int_or_none(vdata.get('duration'), 1000)
|
||||||
|
like_count = int_or_none(vdata.get('likes'))
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
@ -97,4 +98,5 @@ class CollegeHumorIE(InfoExtractor):
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'age_limit': age_limit,
|
'age_limit': age_limit,
|
||||||
'duration': duration,
|
'duration': duration,
|
||||||
|
'like_count': like_count,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue