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
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!
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!
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
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)
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.
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!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
Ran it on different platforms
@nicolaigaina commented on GitHub (Dec 11, 2024):
having the same issue when I run cobat api instance locally
@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!
@bandicuttt commented on GitHub (Dec 12, 2024):
just wanted to write that yt-dlp has already rolled out the update. Waiting for the merge
@wukko commented on GitHub (Dec 12, 2024):
merged into main
@jo-chemla commented on GitHub (Mar 5, 2025):
Issue is still present on latest cobalt 7 docker image:
image: ghcr.io/imputnet/cobalt:7Would it be possible to apply the yt-dlp update to cobalt api v7 as well? Thanks!
@wukko commented on GitHub (Mar 5, 2025):
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
@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.jsonso the minimum requiredyoutubei.js(rather thanyt-dlp) version starts fromYouTube.js/releases/tag/v12.1.0onwards, released on Dec 10 2024 with fixFix signature algorithm extractionas shown in this thread https://github.com/LuanRT/YouTube.js/issues/831For example, cobalt v10 uses
"youtubei.js": "^13.1.0"see here@wukko commented on GitHub (Mar 5, 2025):
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 installfirst)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.
@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!
@twicer-is-coder commented on GitHub (Mar 24, 2025):
This is happening again since 24 March.