[GH-ISSUE #2015] YT-DLP Appears Outdated #1253

Closed
opened 2026-03-02 11:56:05 +03:00 by kerem · 2 comments
Owner

Originally created by @ColtonDx on GitHub (Oct 7, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2015

Describe the Bug

When enabling YT-DLP downloading on a self-hosted Karakeep instance, video downloads fail with the following error:

2025-10-07T00:39:59.774Z error: [VideoCrawler][113] Failed to download a file from "https://www.youtube.com/watch?v=F0OkwXKcPSE" to "/tmp/video_downloads/8a1452ef-77d1-4e82-b251-53d188a1334d":  
WARNING: [youtube] Falling back to generic n function search  
         player = https://www.youtube.com/s/player/6956a038/player_ias.vflset/en_US/base.js  
WARNING: [youtube] F0OkwXKcPSE: nsig extraction failed: Some formats may be missing  
         n = -3pPX7fo58rruPRDV ; player = https://www.youtube.com/s/player/6956a038/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  

ERROR: [youtube] F0OkwXKcPSE: Requested format is not available. Use --list-formats for a list of available formats

After investigating, I found that this was caused by an outdated yt-dlp binary inside the container.


Workaround

I manually updated the binary inside the container:

wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/bin/yt-dlp
chmod a+rx /usr/bin/yt-dlp
yt-dlp -U

Output:

Latest version: stable@2025.09.26 from yt-dlp/yt-dlp  
yt-dlp is up to date (stable@2025.09.26 from yt-dlp/yt-dlp)

After this update, downloads started working again. It seems the container ships with an outdated version of yt-dlp, which breaks YouTube downloads due to signature extraction changes.


Steps to Reproduce

  1. Enable video crawling:
    CRAWLER_VIDEO_DOWNLOAD: true
    
  2. Add a YouTube video to Karakeep.
  3. Check container logs for download errors.

Expected Behaviour

Video downloads should succeed without requiring manual updates to the yt-dlp binary.


Screenshots or Additional Context

No response


Device Details

  • Browser: Brave
  • OS: Fedora 42

Exact Karakeep Version

v0.27.1


Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem.
Originally created by @ColtonDx on GitHub (Oct 7, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2015 **Describe the Bug** When enabling YT-DLP downloading on a self-hosted Karakeep instance, video downloads fail with the following error: ``` 2025-10-07T00:39:59.774Z error: [VideoCrawler][113] Failed to download a file from "https://www.youtube.com/watch?v=F0OkwXKcPSE" to "/tmp/video_downloads/8a1452ef-77d1-4e82-b251-53d188a1334d": WARNING: [youtube] Falling back to generic n function search player = https://www.youtube.com/s/player/6956a038/player_ias.vflset/en_US/base.js WARNING: [youtube] F0OkwXKcPSE: nsig extraction failed: Some formats may be missing n = -3pPX7fo58rruPRDV ; player = https://www.youtube.com/s/player/6956a038/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 ERROR: [youtube] F0OkwXKcPSE: Requested format is not available. Use --list-formats for a list of available formats ``` After investigating, I found that this was caused by an outdated `yt-dlp` binary inside the container. --- **Workaround** I manually updated the binary inside the container: ``` wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/bin/yt-dlp chmod a+rx /usr/bin/yt-dlp yt-dlp -U ``` Output: ``` Latest version: stable@2025.09.26 from yt-dlp/yt-dlp yt-dlp is up to date (stable@2025.09.26 from yt-dlp/yt-dlp) ``` After this update, downloads started working again. It seems the container ships with an outdated version of `yt-dlp`, which breaks YouTube downloads due to signature extraction changes. --- **Steps to Reproduce** 1. Enable video crawling: ``` CRAWLER_VIDEO_DOWNLOAD: true ``` 2. Add a YouTube video to Karakeep. 3. Check container logs for download errors. --- **Expected Behaviour** Video downloads should succeed without requiring manual updates to the `yt-dlp` binary. --- **Screenshots or Additional Context** _No response_ --- **Device Details** - **Browser:** Brave - **OS:** Fedora 42 --- **Exact Karakeep Version** `v0.27.1` --- **Have you checked the troubleshooting guide?** - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem.
kerem 2026-03-02 11:56:05 +03:00
Author
Owner

@MohamedBassem commented on GitHub (Oct 11, 2025):

It's really not that outdated:

/app # yt-dlp --version
2025.08.27

it gets updated with every release. If you move the nightly container you'll get the latest version.

<!-- gh-comment-id:3393268876 --> @MohamedBassem commented on GitHub (Oct 11, 2025): It's really not that outdated: ``` /app # yt-dlp --version 2025.08.27 ``` it gets updated with every release. If you move the nightly container you'll get the latest version.
Author
Owner

@saschabrockel commented on GitHub (Oct 25, 2025):

I got the same problem with the current version. I didn't try to manually update, but I get the same error now.

<!-- gh-comment-id:3447764426 --> @saschabrockel commented on GitHub (Oct 25, 2025): I got the same problem with the current version. I didn't try to manually update, but I get the same error now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1253
No description provided.