Browse Source

[nrktv] Add subtitles test

Sergey M․ 4 years ago
parent
commit
0021a2b9a1
1 changed files with 8 additions and 0 deletions
  1. 8 0
      youtube_dl/extractor/nrk.py

+ 8 - 0
youtube_dl/extractor/nrk.py

@@ -298,6 +298,14 @@ class NRKTVIE(InfoExtractor):
             'description': 'md5:46923a6e6510eefcce23d5ef2a58f2ce',
             'description': 'md5:46923a6e6510eefcce23d5ef2a58f2ce',
             'duration': 2223.44,
             'duration': 2223.44,
             'age_limit': 6,
             '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',
         'url': 'https://tv.nrk.no/serie/20-spoersmaal-tv/MUHH48000314/23-05-2014',