From b691d1dadbb1f6eb41a2ef0982f1ad6e1a4f1ec7 Mon Sep 17 00:00:00 2001 From: MrDemocracy Date: Sun, 6 Oct 2024 02:15:46 +0200 Subject: [PATCH] [nrk] Remove unused manifest_type variable --- yt_dlp/extractor/nrk.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/yt_dlp/extractor/nrk.py b/yt_dlp/extractor/nrk.py index 29cd14516..21311e86a 100644 --- a/yt_dlp/extractor/nrk.py +++ b/yt_dlp/extractor/nrk.py @@ -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':