logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 0021a2b9a14626b1b56c77bec4d93e70a217d32c
parent 19ec46863587758fa6de274df293ede09b10eeb3
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun,  3 Jan 2021 22:25:17 +0700

[nrktv] Add subtitles test

Diffstat:

Myoutube_dl/extractor/nrk.py8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git 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',