[nrktv] Add subtitles test
authorSergey M․ <dstftw@gmail.com>
Sun, 3 Jan 2021 15:25:17 +0000 (22:25 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 3 Jan 2021 15:25:17 +0000 (22:25 +0700)
youtube_dl/extractor/nrk.py

index 69178e1579c5de93e128c4419cc2ff7f95270854..cafb85616728e69819a8164a10d9ad26bf968f47 100644 (file)
@@ -298,6 +298,14 @@ class NRKTVIE(InfoExtractor):
             'description': 'md5:46923a6e6510eefcce23d5ef2a58f2ce',
             'duration': 2223.44,
             'age_limit': 6,
+            'subtitles': {
+                'nb-nor': [{
+                    'ext': 'vtt',
+                }],
+                'nb-ttv': [{
+                    'ext': 'vtt',
+                }]
+            },
         },
     }, {
         'url': 'https://tv.nrk.no/serie/20-spoersmaal-tv/MUHH48000314/23-05-2014',