Skip to content

youtube dl failed to extract signature

Daniel Neto edited this page Mar 18, 2026 · 2 revisions

Fixing "Unable to Extract Signature" Error

What Error Are You Seeing?

You may see one of these error messages when trying to import videos from YouTube:

  • "Unable to extract Initial JS player signature function name"
  • "ERROR: Signature extraction failed"
  • "Unable to extract video data"

Why Does This Happen?

Google frequently changes how YouTube videos are accessed. This breaks video download tools like youtube-dl and yt-dlp.

The solution is simple: update your download tool to the latest version.


Solution 1: Update yt-dlp (Recommended)

yt-dlp is the modern replacement for youtube-dl. It's faster and updated more frequently.

Install yt-dlp (if not installed)

sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlp

Update yt-dlp to Latest Version

sudo yt-dlp -U

Or reinstall with curl:

sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp

Solution 2: Update youtube-dl (Legacy)

⚠️ Note: youtube-dl is updated less frequently. We recommend switching to yt-dlp.

Update youtube-dl

sudo pip3 install --upgrade youtube-dl

Or using pip:

sudo pip install --upgrade youtube-dl

Still Not Working?

If updating doesn't fix the issue:

  1. Wait a few days - Sometimes a fix takes time to be released
  2. Check for updates again - New releases come out frequently
  3. Try yt-dlp if you're using youtube-dl
  4. Check GitHub Issues:

Quick Reference

Tool Update Command
yt-dlp sudo yt-dlp -U
youtube-dl sudo pip3 install --upgrade youtube-dl

Remember: Google changes YouTube frequently, so you may need to update these tools regularly (sometimes weekly).

Clone this wiki locally