aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/sportbox.py
diff options
context:
space:
mode:
authorVitaliy Syrchikov <maddoger@gmail.com>2015-05-15 19:57:54 +0400
committerVitaliy Syrchikov <maddoger@gmail.com>2015-05-15 19:57:54 +0400
commite9ca615a9872e85a6986061fdf54257244ce1f77 (patch)
tree509d0eb445b6c29c53f6d934e80aab82ccf6da32 /youtube_dl/extractor/sportbox.py
parentae670a6ed8019f1b69bbe345621f51c8b32789ec (diff)
New test
Diffstat (limited to 'youtube_dl/extractor/sportbox.py')
-rw-r--r--youtube_dl/extractor/sportbox.py23
1 files changed, 21 insertions, 2 deletions
diff --git a/youtube_dl/extractor/sportbox.py b/youtube_dl/extractor/sportbox.py
index 695b3ff82..cb1515eff 100644
--- a/youtube_dl/extractor/sportbox.py
+++ b/youtube_dl/extractor/sportbox.py
@@ -30,10 +30,29 @@ class SportBoxIE(InfoExtractor):
# m3u8 download
'skip_download': True,
},
- }, {
+ },
+ {
+ 'url': 'http://news.sportbox.ru/video/no_ads/spbvideo_NI536574_V_Novorossijske_proshel_detskij_turnir_Pole_slavy_bojevoj?ci=211355',
+ 'md5': 'ff56a598c2cf411a9a38a69709e97079',
+ 'info_dict': {
+ 'id': '211355',
+ 'ext': 'mp4',
+ 'title': 'В Новороссийске прошел детский турнир «Поле славы боевой»',
+ 'description': '16 детских коллективов приняли участие в суперфинале турнира «Поле славы боевой».',
+ 'thumbnail': 're:^https?://.*\.jpg$',
+ 'timestamp': 1426237001,
+ 'upload_date': '20150313',
+ 'duration': 292,
+ },
+ 'params': {
+ # m3u8 download
+ 'skip_download': True,
+ },
+ },
+ {
'url': 'http://news.sportbox.ru/Vidy_sporta/billiard/spbvideo_NI486287_CHempionat-mira-po-dinamichnoy-piramide-4',
'only_matching': True,
- }
+ },
]
def _real_extract(self, url):