Browse Source

[collegehumor] Extract like count

master
Sergey M․ 10 years ago
parent
commit
355271fb61
1 changed files with 2 additions and 0 deletions
  1. 2
      youtube_dl/extractor/collegehumor.py

2
youtube_dl/extractor/collegehumor.py

@ -88,6 +88,7 @@ class CollegeHumorIE(InfoExtractor):
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 @@ class CollegeHumorIE(InfoExtractor):
'formats': formats,
'age_limit': age_limit,
'duration': duration,
'like_count': like_count,
}
Loading…
Cancel
Save