aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-10-26 08:00:01 +0700
committerSergey M․ <dstftw@gmail.com>2014-10-26 08:00:01 +0700
commitf64f8a46623d4940e6f53c3bf4b23050b054b0f6 (patch)
tree506c000d713de6dba650cd9497a41593f0de1d50 /youtube_dl/extractor
parent681b9caa9cec6105707381412b90bfe998aa3e9d (diff)
[sportbox] Remove view count
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/sportbox.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/youtube_dl/extractor/sportbox.py b/youtube_dl/extractor/sportbox.py
index 19cc976e3..b9cd35109 100644
--- a/youtube_dl/extractor/sportbox.py
+++ b/youtube_dl/extractor/sportbox.py
@@ -26,7 +26,6 @@ class SportBoxIE(InfoExtractor):
'timestamp': 1411896237,
'upload_date': '20140928',
'duration': 4846,
- 'view_count': int,
},
'params': {
# m3u8 download
@@ -65,8 +64,6 @@ class SportBoxIE(InfoExtractor):
r'<span itemprop="uploadDate">([^<]+)</span>', webpage, 'timestamp', fatal=False))
duration = parse_duration(self._html_search_regex(
r'<meta itemprop="duration" content="PT([^"]+)">', webpage, 'duration', fatal=False))
- view_count = int_or_none(self._html_search_regex(
- r'<span>Просмотров: (\d+)</span>', player, 'view count', fatal=False))
return {
'id': video_id,
@@ -76,6 +73,5 @@ class SportBoxIE(InfoExtractor):
'thumbnail': thumbnail,
'timestamp': timestamp,
'duration': duration,
- 'view_count': view_count,
'formats': formats,
}