yt-dlp: [youtube] player `59b252b9`: nsig extraction failed: Some formats may be missing
EDIT:
This has been fixed in the latest release. Update!
UPDATE INSTRUCTIONS:
If you are using the exe:
yt-dlp -U
Or with pip:
python -m pip install -U "yt-dlp[default]"
Checklist
- I’m reporting that yt-dlp is broken on a supported site
- I’ve verified that I have updated yt-dlp to nightly or master (update instructions)
- I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched known issues, the FAQ, and the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
Germany
Provide a description that is worded well enough to be understood
nsig extraction failed: Some formats may be missing n = fMlnGpC7IEbpwqbdtnNh ; player = https://www.youtube.com/s/player/59b252b9/player_ias.vflset/en_US/base.js Please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template
Provide verbose output that clearly demonstrates the problem
- Run your yt-dlp command with -vU flag added (
yt-dlp -vU <your command line>) - If using API, add
'verbose': TruetoYoutubeDLparams instead - Copy the WHOLE output (starting with
[debug] Command-line config) and insert it below
Complete Verbose Output
nsig extraction failed: Some formats may be missing
May 21 12:10:47 snapshot--ubuntu-4gb-fsn1-2 bash[667]: n = fMlnGpC7IEbpwqbdtnNh ; player = https://www.youtube.com/s/player/59b252b9/player_ias.vflset/en_US/base.js
May 21 12:10:47 snapshot--ubuntu-4gb-fsn1-2 bash[667]: Please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 13
- Comments: 17 (8 by maintainers)
@gazmeist
It has already been fixed in the nightly channel.
Looks like #13238 addresses this issue.
shortly
I have got the same warning.
% ./yt-dlp_macos -U Latest version: stable@2025.04.30 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2025.04.30 from yt-dlp/yt-dlp)
% ./yt-dlp_macos --verbose -R 800 --socket-timeout 10 --remux-video mkv -N 3 https://www.youtube.com/watch\?v=xz7kQthOlCQ [debug] Command-line config: [‘–verbose’, ‘-R’, ‘800’, ‘–socket-timeout’, ‘10’, ‘–remux-video’, ‘mkv’, ‘-N’, ‘3’, ‘https://www.youtube.com/watch?v=xz7kQthOlCQ’] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version stable@2025.04.30 from yt-dlp/yt-dlp [505b40079] (darwin_exe) [debug] Python 3.13.3 (CPython arm64 64bit) - macOS-15.5-arm64-arm-64bit-Mach-O (OpenSSL 3.0.16 11 Feb 2025) [debug] exe versions: ffmpeg 4.4.5 (setts), ffprobe 4.4.5 [debug] Optional libraries: Cryptodome-3.22.0, brotli-1.1.0, certifi-2025.04.26, curl_cffi-0.10.0, mutagen-1.47.0, requests-2.32.3, sqlite3-3.49.1, urllib3-2.4.0, websockets-15.0.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Plugin directories: none [debug] Loaded 1857 extractors [youtube] Extracting URL: https://www.youtube.com/watch?v=xz7kQthOlCQ [youtube] xz7kQthOlCQ: Downloading webpage [youtube] xz7kQthOlCQ: Downloading tv client config [debug] Loading youtube-sts.59b252b9-main from cache [youtube] xz7kQthOlCQ: Downloading tv player API JSON [youtube] xz7kQthOlCQ: Downloading ios player API JSON [youtube] xz7kQthOlCQ: Downloading player 59b252b9-main WARNING: [youtube] xz7kQthOlCQ: nsig extraction failed: Some formats may be missing n = DoJ5YPUjzsv8YV7DWtm- ; player = https://www.youtube.com/s/player/59b252b9/player_ias.vflset/en_US/base.js Please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U [debug] [youtube] Traceback (most recent call last): File “yt_dlp/extractor/youtube/_video.py”, line 2322, in extract_nsig File “yt_dlp/jsinterp.py”, line 928, in resf File “yt_dlp/jsinterp.py”, line 241, in interpret_statement File “yt_dlp/jsinterp.py”, line 394, in interpret_statement File “yt_dlp/jsinterp.py”, line 241, in interpret_statement File “yt_dlp/jsinterp.py”, line 599, in interpret_statement File “collections/init.py”, line 1019, in getitem File “collections/init.py”, line 1011, in missing KeyError: ‘smRLl34tByYhJ4B’ (caused by KeyError(‘smRLl34tByYhJ4B’)); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U WARNING: [youtube] xz7kQthOlCQ: nsig extraction failed: Some formats may be missing n = 18bsQxr6GxLvnfLCldsH ; player = https://www.youtube.com/s/player/59b252b9/player_ias.vflset/en_US/base.js Please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U [debug] [youtube] xz7kQthOlCQ: ios client https formats require a GVS PO Token which was not provided. They will be skipped as they may yield HTTP Error 403. You can manually pass a GVS PO Token for this client with --extractor-args “youtube:po_token=ios.gvs+XXX”. For more information, refer to https://github.com/yt-dlp/yt-dlp/wiki/PO-Token-Guide . To enable these broken formats anyway, pass --extractor-args “youtube:formats=missing_pot” WARNING: [youtube] xz7kQthOlCQ: nsig extraction failed: Some formats may be missing n = ImKIjhvGBL8ES6kBvu0E ; player = https://www.youtube.com/s/player/59b252b9/player_ias.vflset/en_US/base.js Please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U WARNING: [youtube] xz7kQthOlCQ: Some web client https formats have been skipped as they are missing a url. YouTube is forcing SABR streaming for this client. See https://github.com/yt-dlp/yt-dlp/issues/12482 for more details
@nicolaasjan
We probably won’t deprecate its use for nsig decoding. We have stopped recommending it, however.
But nsig isn’t the only thing that would necessitate an external JS interpreter dependency for YT downloads. It is looking like YT downloads will not be possible without PO tokens at some point in the future. I’m not sure how feasible a PhantomJS-based PO token provider is, or if anyone would want to write one… so when PO tokens are required across the board, you may need to find something else.
Still happens sometimes, even with the latest nightly release (nightly 2025.05.21.232935). Because of another player?
Your script is using a different yt-dlp installation (probably via pip)