diff options
| author | Sergey M․ <dstftw@gmail.com> | 2014-03-13 06:12:39 +0700 | 
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2014-03-13 06:12:39 +0700 | 
| commit | 355271fb61c2bff706879da101d0e2a7f2ad79a3 (patch) | |
| tree | 4a450dc5c1e48f6146cf54ad9c368c4c794da037 | |
| parent | 2a5b502364ff90ac31605a57f41f0fc6290440ce (diff) | |
[collegehumor] Extract like count
| -rw-r--r-- | youtube_dl/extractor/collegehumor.py | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/collegehumor.py b/youtube_dl/extractor/collegehumor.py index 12b5fdf1c..b255cb5b9 100644 --- a/youtube_dl/extractor/collegehumor.py +++ b/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,          }  | 
