[nrk] Remove unused manifest_type variable

This commit is contained in:
MrDemocracy 2024-10-06 02:15:46 +02:00 committed by GitHub
parent 4cd8abfc08
commit b691d1dadb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,8 +163,6 @@ def _real_extract(self, url):
# 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':