mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-01 06:27:44 +00:00
[nrk] Add more shortcut tests
This commit is contained in:
parent
21a42e2588
commit
1f1d01d498
1 changed files with 13 additions and 1 deletions
|
@ -117,18 +117,30 @@ class NRKIE(NRKBaseIE):
|
||||||
# podcast
|
# podcast
|
||||||
'url': 'nrk:l_96f4f1b0-de54-4e6a-b4f1-b0de54fe6af8',
|
'url': 'nrk:l_96f4f1b0-de54-4e6a-b4f1-b0de54fe6af8',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'nrk:podcast/l_96f4f1b0-de54-4e6a-b4f1-b0de54fe6af8',
|
||||||
|
'only_matching': True,
|
||||||
}, {
|
}, {
|
||||||
# clip
|
# clip
|
||||||
'url': 'nrk:150533',
|
'url': 'nrk:150533',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}, {
|
}, {
|
||||||
# episode
|
'url': 'nrk:clip/150533',
|
||||||
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
# program
|
||||||
'url': 'nrk:MDDP12000117',
|
'url': 'nrk:MDDP12000117',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'nrk:program/ENRK10100318',
|
||||||
|
'only_matching': True,
|
||||||
}, {
|
}, {
|
||||||
# direkte
|
# direkte
|
||||||
'url': 'nrk:nrk1',
|
'url': 'nrk:nrk1',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'nrk:channel/nrk1',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _extract_from_playback(self, video_id):
|
def _extract_from_playback(self, video_id):
|
||||||
|
|
Loading…
Reference in a new issue