diff options
author | Vitaliy Syrchikov <[email protected]> | 2015-05-15 19:57:54 +0400 |
---|---|---|
committer | Vitaliy Syrchikov <[email protected]> | 2015-05-15 19:57:54 +0400 |
commit | e9ca615a9872e85a6986061fdf54257244ce1f77 (patch) | |
tree | 509d0eb445b6c29c53f6d934e80aab82ccf6da32 | |
parent | ae670a6ed8019f1b69bbe345621f51c8b32789ec (diff) | |
download | youtube-dl-e9ca615a9872e85a6986061fdf54257244ce1f77.tar.gz youtube-dl-e9ca615a9872e85a6986061fdf54257244ce1f77.zip |
New test
-rw-r--r-- | youtube_dl/extractor/sportbox.py | 23 |
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): |