X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=inline;f=youtube_dl%2Fextractor%2Fsportbox.py;h=becdf658f6e0ce8b209dffc0ce4c96a2857099dc;hb=fec2d97ca2f1aa8b64c24b28d8c63cab052e9db4;hp=19cc976e3d3c9c7cff875f26e63e25a827fb8073;hpb=fc6861b175ec1ad1d7aa322438b095840c437249;p=youtube-dl
diff --git a/youtube_dl/extractor/sportbox.py b/youtube_dl/extractor/sportbox.py
index 19cc976e3..becdf658f 100644
--- a/youtube_dl/extractor/sportbox.py
+++ b/youtube_dl/extractor/sportbox.py
@@ -7,7 +7,6 @@ from .common import InfoExtractor
from ..utils import (
parse_duration,
parse_iso8601,
- int_or_none,
)
@@ -26,7 +25,6 @@ class SportBoxIE(InfoExtractor):
'timestamp': 1411896237,
'upload_date': '20140928',
'duration': 4846,
- 'view_count': int,
},
'params': {
# m3u8 download
@@ -65,8 +63,6 @@ class SportBoxIE(InfoExtractor):
r'([^<]+)', webpage, 'timestamp', fatal=False))
duration = parse_duration(self._html_search_regex(
r'', webpage, 'duration', fatal=False))
- view_count = int_or_none(self._html_search_regex(
- r'ÐÑоÑмоÑÑов: (\d+)', player, 'view count', fatal=False))
return {
'id': video_id,
@@ -76,6 +72,5 @@ class SportBoxIE(InfoExtractor):
'thumbnail': thumbnail,
'timestamp': timestamp,
'duration': duration,
- 'view_count': view_count,
'formats': formats,
}