aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/ccc.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/ccc.py')
-rw-r--r--hypervideo_dl/extractor/ccc.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/hypervideo_dl/extractor/ccc.py b/hypervideo_dl/extractor/ccc.py
index 36e6dff..22e3a22 100644
--- a/hypervideo_dl/extractor/ccc.py
+++ b/hypervideo_dl/extractor/ccc.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
from .common import InfoExtractor
from ..utils import (
int_or_none,
@@ -67,7 +64,6 @@ class CCCIE(InfoExtractor):
'language': language,
'vcodec': vcodec,
})
- self._sort_formats(formats)
return {
'id': event_id,
@@ -78,6 +74,7 @@ class CCCIE(InfoExtractor):
'thumbnail': event_data.get('thumb_url'),
'timestamp': parse_iso8601(event_data.get('date')),
'duration': int_or_none(event_data.get('length')),
+ 'view_count': int_or_none(event_data.get('view_count')),
'tags': event_data.get('tags'),
'formats': formats,
}