mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-17 06:11:41 +01:00
[nrk] Remove unused manifest_type variable
This commit is contained in:
parent
4cd8abfc08
commit
b691d1dadb
1 changed files with 0 additions and 2 deletions
|
@ -163,8 +163,6 @@ class NRKIE(NRKBaseIE):
|
||||||
# known values for preferredCdn: akamai, iponly, minicdn and telenor
|
# 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 = 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
|
video_id = try_get(manifest, lambda x: x['id'], str) or video_id
|
||||||
|
|
||||||
if manifest.get('playability') == 'nonPlayable':
|
if manifest.get('playability') == 'nonPlayable':
|
||||||
|
|
Loading…
Reference in a new issue