summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2021-01-03 22:25:17 +0700
committerSergey M․ <[email protected]>2021-01-03 22:25:17 +0700
commit0021a2b9a14626b1b56c77bec4d93e70a217d32c (patch)
treea07f8c12ca95502f38641decb156846b683df657
parent19ec46863587758fa6de274df293ede09b10eeb3 (diff)
downloadyoutube-dl-0021a2b9a14626b1b56c77bec4d93e70a217d32c.tar.gz
youtube-dl-0021a2b9a14626b1b56c77bec4d93e70a217d32c.zip
[nrktv] Add subtitles test
-rw-r--r--youtube_dl/extractor/nrk.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py
index 69178e157..cafb85616 100644
--- a/youtube_dl/extractor/nrk.py
+++ b/youtube_dl/extractor/nrk.py
@@ -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',