Skip to content

yt-dlp error: Falling back to generic n function search... #1368

@Mihara

Description

@Mihara

I've been using the prebuilt executabl on Linux, and recently, my logs are full of

[ytdl-sub:yt-dlp] [youtube] Extracting URL: https://www.youtube.com/shorts/6ziGAbDJQdY
[ytdl-sub:yt-dlp] [youtube] Sleeping 0.75 seconds ...
[ytdl-sub:yt-dlp] [youtube] 6ziGAbDJQdY: Downloading webpage
[ytdl-sub:yt-dlp] [youtube] Sleeping 0.75 seconds ...
[ytdl-sub:yt-dlp] [youtube] 6ziGAbDJQdY: Downloading android sdkless player API JSON
[ytdl-sub:yt-dlp] [youtube] Sleeping 0.75 seconds ...
[ytdl-sub:yt-dlp] [youtube] 6ziGAbDJQdY: Downloading tv client config
[ytdl-sub:yt-dlp] [youtube] Sleeping 0.75 seconds ...
[ytdl-sub:yt-dlp] [youtube] 6ziGAbDJQdY: Downloading tv player API JSON
[ytdl-sub:yt-dlp] [youtube] Sleeping 0.75 seconds ...
[ytdl-sub:yt-dlp] [youtube] 6ziGAbDJQdY: Downloading web safari player API JSON
[ytdl-sub:yt-dlp] [youtube] Sleeping 0.75 seconds ...
[ytdl-sub:yt-dlp] [youtube] 6ziGAbDJQdY: Downloading player 6e4dbefe-main
[ytdl-sub:yt-dlp] WARNING: [youtube] Falling back to generic n function search
          player = https://www.youtube.com/s/player/6e4dbefe/player_ias.vflset/en_US/base.js
[ytdl-sub:yt-dlp] WARNING: [youtube] 6ziGAbDJQdY: nsig extraction failed: Some formats may be missing
          n = K9IcHlc6w2ej4Itb ; player = https://www.youtube.com/s/player/6e4dbefe/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

Nothing gets downloaded out of my ~60 subscriptions, even though it's been working fine for quite a while.

ytdl-sub is automatically updated to the latest version every day, half an hour before the subscription download starts:

update-youtube-downloaders[3011782]: Latest version: stable@2025.10.22 from yt-dlp/yt-dlp
update-youtube-downloaders[3011782]: yt-dlp is up to date (stable@2025.10.22 from yt-dlp/yt-dlp)
update-youtube-downloaders[3011781]: ytdl-sub is 2025.10.23, latest is 2025.10.23, nothing to update.
#!/bin/bash

# yt-dlp is easy.
/usr/local/bin/yt-dlp -U

# ytdl-sub doesn't self-update so a more complex dance is needed.
VERSION=$(ytdl-sub -v | cut -d "+" -f 1 | cut -d " " -f 2)
UPSTREAM=$(curl -sL https://api.github.com/repos/jmbannon/ytdl-sub/releases/latest | jq -r ".tag_name")

if [ "$VERSION" != "$UPSTREAM" ]; then
        curl -s -L -o /usr/local/bin/ytdl-sub https://github.com/jmbannon/ytdl-sub/releases/latest/download/ytdl-sub
        chmod +x /usr/local/bin/ytdl-sub
else
        echo ytdl-sub is $VERSION, latest is $UPSTREAM, nothing to update.
fi

Just in case it is not bundled inside the single-executable, deno is installed on the system:

deno --version
deno 2.5.4 (stable, release, x86_64-unknown-linux-gnu)
v8 14.0.365.5-rusty
typescript 5.9.2

Regular yt-dlp also stumbles into this error, however, it doesn't stop there and goes on to actually download as requested:

[youtube] Extracting URL: https://www.youtube.com/watch?v=UJRQA-Ej6UI
[youtube] UJRQA-Ej6UI: Downloading webpage
[youtube] UJRQA-Ej6UI: Downloading android sdkless player API JSON
[youtube] UJRQA-Ej6UI: Downloading tv client config
[youtube] UJRQA-Ej6UI: Downloading tv player API JSON
[youtube] UJRQA-Ej6UI: Downloading web safari player API JSON
[youtube] UJRQA-Ej6UI: Downloading player 6e4dbefe-main
WARNING: [youtube] Falling back to generic n function search
         player = https://www.youtube.com/s/player/6e4dbefe/player_ias.vflset/en_US/base.js
WARNING: [youtube] UJRQA-Ej6UI: nsig extraction failed: Some formats may be missing
         n = lqDKIjMnrJMlYYGh ; player = https://www.youtube.com/s/player/6e4dbefe/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] UJRQA-Ej6UI: Some web_safari 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
WARNING: [youtube] UJRQA-Ej6UI: 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
[youtube] UJRQA-Ej6UI: Downloading m3u8 information
[info] UJRQA-Ej6UI: Downloading subtitles: de, pt, es, live_chat
[info] UJRQA-Ej6UI: Downloading 1 format(s): 251
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions