summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-05-15 23:18:21 +0600
committerSergey M․ <[email protected]>2015-05-15 23:18:21 +0600
commitb827a6015c145d67a4d4e9ea38aa54ebe347d3fe (patch)
tree554d36a3dafc8f60ca39ae706d6440284aa94177
parentd40a3b5b55973d7ed65538179b71990c1828845a (diff)
downloadyoutube-dl-b827a6015c145d67a4d4e9ea38aa54ebe347d3fe.tar.gz
youtube-dl-b827a6015c145d67a4d4e9ea38aa54ebe347d3fe.zip
[generic] Add test for sportbox embeds
-rw-r--r--youtube_dl/extractor/generic.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 9230c3bb0..610e33091 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -225,6 +225,37 @@ class GenericIE(InfoExtractor):
'skip_download': True,
},
},
+ # SportBox embed
+ {
+ 'url': 'http://www.vestifinance.ru/articles/25753',
+ 'info_dict': {
+ 'id': '25753',
+ 'title': 'Вести Экономика ― Прямые трансляции с Форума-выставки "Госзаказ-2013"',
+ },
+ 'playlist': [{
+ 'info_dict': {
+ 'id': '370908',
+ 'title': 'Госзаказ. День 3',
+ 'ext': 'mp4',
+ }
+ }, {
+ 'info_dict': {
+ 'id': '370905',
+ 'title': 'Госзаказ. День 2',
+ 'ext': 'mp4',
+ }
+ }, {
+ 'info_dict': {
+ 'id': '370902',
+ 'title': 'Госзаказ. День 1',
+ 'ext': 'mp4',
+ }
+ }],
+ 'params': {
+ # m3u8 download
+ 'skip_download': True,
+ },
+ },
# Embedded TED video
{
'url': 'http://en.support.wordpress.com/videos/ted-talks/',