Failed to extract signature decipher algorithm [YouTube] #628

Closed
opened 2025-11-09 09:54:23 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @bandicuttt on GitHub (Dec 11, 2024).

problem description

When trying to download any video or shorts from youtube I get this error

[YOUTUBEJS][Player]: Failed to extract signature decipher algorithm.

Ran it on different platforms

Originally created by @bandicuttt on GitHub (Dec 11, 2024). ### problem description When trying to download any video or shorts from youtube I get this error ``` [YOUTUBEJS][Player]: Failed to extract signature decipher algorithm. ``` Ran it on different platforms
GiteaMirror added the instance hosting help label 2025-11-09 09:54:23 -06:00
Author
Owner

@nicolaigaina commented on GitHub (Dec 11, 2024):

having the same issue when I run cobat api instance locally

@nicolaigaina commented on GitHub (Dec 11, 2024): having the same issue when I run cobat api instance locally
Author
Owner

@wukko commented on GitHub (Dec 12, 2024):

this error doesn’t affect cobalt as it doesn’t decipher anything. it’s fixed in the dev branch and will be merged soon!

@wukko commented on GitHub (Dec 12, 2024): this error doesn’t affect cobalt as it doesn’t decipher anything. it’s fixed in the dev branch and will be merged soon!
Author
Owner

@bandicuttt commented on GitHub (Dec 12, 2024):

just wanted to write that yt-dlp has already rolled out the update. Waiting for the merge

@bandicuttt commented on GitHub (Dec 12, 2024): just wanted to write that yt-dlp has already rolled out the update. Waiting for the merge
Author
Owner

@wukko commented on GitHub (Dec 12, 2024):

merged into main

@wukko commented on GitHub (Dec 12, 2024): merged into main
Author
Owner

@jo-chemla commented on GitHub (Mar 5, 2025):

Issue is still present on latest cobalt 7 docker image: image: ghcr.io/imputnet/cobalt:7
Would it be possible to apply the yt-dlp update to cobalt api v7 as well? Thanks!

@jo-chemla commented on GitHub (Mar 5, 2025): Issue is still present on latest cobalt 7 docker image: `image: ghcr.io/imputnet/cobalt:7` Would it be possible to apply the yt-dlp update to cobalt api v7 as well? Thanks!
Author
Owner

@wukko commented on GitHub (Mar 5, 2025):

Would it be possible to apply the yt-dlp update to cobalt api v7 as well

cobalt doesn’t use yt-dlp, and v7 is no longer supported. i advise you to switch to v10 and use that instead, along with future latest releases

@wukko commented on GitHub (Mar 5, 2025): > Would it be possible to apply the yt-dlp update to cobalt api v7 as well cobalt doesn’t use yt-dlp, and v7 is no longer supported. i advise you to switch to v10 and use that instead, along with future latest releases
Author
Owner

@jo-chemla commented on GitHub (Mar 5, 2025):

I cannot switch to v10 because I need a fully self-hosted cobalt, not only the instance but the frontend as well - see here https://github.com/imputnet/cobalt/issues/768 and there https://github.com/imputnet/cobalt/issues/722

Seems that the simple fix is to update cobalt v7 package.json so the minimum required youtubei.js (rather than yt-dlp) version starts from YouTube.js/releases/tag/v12.1.0 onwards, released on Dec 10 2024 with fix Fix signature algorithm extraction as shown in this thread https://github.com/LuanRT/YouTube.js/issues/831

For example, cobalt v10 uses "youtubei.js": "^13.1.0" see here

@jo-chemla commented on GitHub (Mar 5, 2025): I cannot switch to v10 because I need a fully self-hosted cobalt, not only the instance but the frontend as well - see here https://github.com/imputnet/cobalt/issues/768 and there https://github.com/imputnet/cobalt/issues/722 Seems that the simple fix is to update cobalt v7 `package.json` so the minimum required `youtubei.js` (rather than `yt-dlp`) version starts from [`YouTube.js/releases/tag/v12.1.0` ](https://github.com/LuanRT/YouTube.js/releases/tag/v12.1.0) onwards, released on Dec 10 2024 with fix `Fix signature algorithm extraction` as shown in this thread https://github.com/LuanRT/YouTube.js/issues/831 For example, cobalt v10 uses `"youtubei.js": "^13.1.0"` see [here](https://github.com/imputnet/cobalt/blob/187b1f8f0593f3436d5533a60ee0fa23538174aa/api/package.json#L42C9-L42C34)
Author
Owner

@wukko commented on GitHub (Mar 5, 2025):

but the frontend as well

you can still self host it, but since it's a static build, it's not in a docker image. here's how to build it: https://github.com/imputnet/cobalt/tree/main/web#configuring (run pnpm install first)

Seems that the simple fix is to update cobalt v7

it makes no sense for me to update the v7 source code if v10 is better in every single way. v7 is not supported anymore. if it breaks, it's not really my responsibility as it's no longer maintained.

@wukko commented on GitHub (Mar 5, 2025): > but the frontend as well you can still self host it, but since it's a static build, it's not in a docker image. here's how to build it: https://github.com/imputnet/cobalt/tree/main/web#configuring (run `pnpm install` first) > Seems that the simple fix is to update cobalt v7 it makes no sense for me to update the v7 source code if v10 is better in every single way. v7 is not supported anymore. if it breaks, it's not really my responsibility as it's no longer maintained.
Author
Owner

@jo-chemla commented on GitHub (Mar 5, 2025):

Thanks for the feedback, understood - sad given how simple the fix is, but it might indeed introduce breaking changes which would incur more than just the version bump.

The general consensus around v10 in the referenced issues seems to be that most self-hosters that had a working docker-compose setup on v7 won't switch unless there are built images available to ghrc/docker-hub or any other image repo that makes it as easy to deploy, without requiring to build the image one-self.

But thanks for pointing towards these instructions!

@jo-chemla commented on GitHub (Mar 5, 2025): Thanks for the feedback, understood - sad given how simple the fix is, but it might indeed introduce breaking changes which would incur more than just the version bump. The general consensus around v10 in the referenced issues seems to be that most self-hosters that had a working docker-compose setup on v7 won't switch unless there are built images available to ghrc/docker-hub or any other image repo that makes it as easy to deploy, without requiring to build the image one-self. But thanks for pointing towards these instructions!
Author
Owner

@twicer-is-coder commented on GitHub (Mar 24, 2025):

This is happening again since 24 March.

@twicer-is-coder commented on GitHub (Mar 24, 2025): This is happening again since 24 March.
Sign in to join this conversation.