summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-28 01:26:14 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-28 01:26:14 +0600
commit9e0b5791281c68e5773555688928184064396011 (patch)
tree9605ce9df7c3ffb97292ec42ce5fc2764bcfe2a6
parentff4a1279f2d40fdba3287d4e7949bd8caa89eb04 (diff)
downloadyoutube-dl-9e0b5791281c68e5773555688928184064396011.tar.gz
youtube-dl-9e0b5791281c68e5773555688928184064396011.tar.xz
youtube-dl-9e0b5791281c68e5773555688928184064396011.zip
[nowtv] Add test for rtlnitro
-rw-r--r--youtube_dl/extractor/nowtv.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/youtube_dl/extractor/nowtv.py b/youtube_dl/extractor/nowtv.py
index d39bbde99..173e46cd8 100644
--- a/youtube_dl/extractor/nowtv.py
+++ b/youtube_dl/extractor/nowtv.py
@@ -54,6 +54,24 @@ class NowTVIE(InfoExtractor):
             'skip_download': True,
         },
     }, {
+        # rtlnitro
+        'url': 'http://www.nowtv.de/rtlnitro/alarm-fuer-cobra-11-die-autobahnpolizei/hals-und-beinbruch-2014-08-23-21-10-00/player',
+        'info_dict': {
+            'id': '165780',
+            'display_id': 'alarm-fuer-cobra-11-die-autobahnpolizei/hals-und-beinbruch-2014-08-23-21-10-00',
+            'ext': 'mp4',
+            'title': 'Hals- und Beinbruch',
+            'description': 'md5:b50d248efffe244e6f56737f0911ca57',
+            'thumbnail': 're:^https?://.*\.jpg$',
+            'timestamp': 1432415400,
+            'upload_date': '20150523',
+            'duration': 2742,
+        },
+        'params': {
+            # m3u8 download
+            'skip_download': True,
+        },
+    }, {
         # superrtl
         'url': 'http://www.nowtv.de/superrtl/medicopter-117/angst/player',
         'info_dict': {