summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-03 10:00:34 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-03 10:00:34 +0600
commitd0fd305023b37f7776485679a74e422eade26c13 (patch)
treebdee9c54ffd7d0361d7a8f3165fa88fe0d3c8734
parent8dab1e9072037daa9c6cab3da4a5dbd4daaae4c8 (diff)
downloadyoutube-dl-d0fd305023b37f7776485679a74e422eade26c13.tar.gz
youtube-dl-d0fd305023b37f7776485679a74e422eade26c13.tar.xz
youtube-dl-d0fd305023b37f7776485679a74e422eade26c13.zip
[rutv] Add test for #5584
-rw-r--r--youtube_dl/extractor/rutv.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/youtube_dl/extractor/rutv.py b/youtube_dl/extractor/rutv.py
index 169f7c032..1ec2c86e5 100644
--- a/youtube_dl/extractor/rutv.py
+++ b/youtube_dl/extractor/rutv.py
@@ -84,11 +84,20 @@ class RUTVIE(InfoExtractor):
                 'title': 'Сочи-2014. Биатлон. Индивидуальная гонка. Мужчины ',
                 'description': 'md5:9e0ed5c9d2fa1efbfdfed90c9a6d179c',
             },
+            'skip': 'Translation has finished',
+        },
+        {
+            'url': 'http://live.russia.tv/index/index/channel_id/3',
+            'info_dict': {
+                'id': '21',
+                'ext': 'mp4',
+                'title': 're:^Россия 24. Прямой эфир [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
+                'is_live': True,
+            },
             'params': {
-                # rtmp download
+                # m3u8 download
                 'skip_download': True,
             },
-            'skip': 'Translation has finished',
         },
     ]