mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 14:37:21 +00:00
[nrk] Remove unused manifest_type variable
This commit is contained in:
parent
4cd8abfc08
commit
b691d1dadb
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue