logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 1f1d01d498fee8120bb3415b1b1a20e21259bbf4
parent 21a42e2588226b781a02124e26d709a9562c8fef
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun,  3 Jan 2021 06:41:37 +0700

[nrk] Add more shortcut tests

Diffstat:

Myoutube_dl/extractor/nrk.py14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py @@ -118,17 +118,29 @@ class NRKIE(NRKBaseIE): 'url': 'nrk:l_96f4f1b0-de54-4e6a-b4f1-b0de54fe6af8', 'only_matching': True, }, { + 'url': 'nrk:podcast/l_96f4f1b0-de54-4e6a-b4f1-b0de54fe6af8', + 'only_matching': True, + }, { # clip 'url': 'nrk:150533', 'only_matching': True, }, { - # episode + 'url': 'nrk:clip/150533', + 'only_matching': True, + }, { + # program 'url': 'nrk:MDDP12000117', 'only_matching': True, }, { + 'url': 'nrk:program/ENRK10100318', + 'only_matching': True, + }, { # direkte 'url': 'nrk:nrk1', 'only_matching': True, + }, { + 'url': 'nrk:channel/nrk1', + 'only_matching': True, }] def _extract_from_playback(self, video_id):