mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-08 18:03:43 +00:00
[nrk] Remove unused manifest_type variable
This commit is contained in:
parent
4cd8abfc08
commit
b691d1dadb
@ -163,8 +163,6 @@ class NRKIE(NRKBaseIE):
|
||||
# known values for preferredCdn: akamai, iponly, minicdn and telenor
|
||||
manifest = self._call_api(f'playback/manifest/{video_id}', video_id, 'manifest', query={'preferredCdn': 'akamai'})
|
||||
|
||||
#manifest_type = try_get(manifest, lambda x: x['_links']['self']['href'], str).split('/')[3]
|
||||
|
||||
video_id = try_get(manifest, lambda x: x['id'], str) or video_id
|
||||
|
||||
if manifest.get('playability') == 'nonPlayable':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user