]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[nowtv] Add test for rtlnitro
authorSergey M․ <dstftw@gmail.com>
Wed, 27 May 2015 19:26:14 +0000 (01:26 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 27 May 2015 19:26:14 +0000 (01:26 +0600)
youtube_dl/extractor/nowtv.py

index d39bbde9988f1865073d1d3375e7a712dc9096a3..173e46cd8b78dfa0dcdf33b6d3c280bf40a70681 100644 (file)
@@ -53,6 +53,24 @@ class NowTVIE(InfoExtractor):
             # m3u8 download
             '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',