Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 errors since the last Youtube breaking change #1043

Closed
EugeneLeclerc opened this issue Jul 12, 2024 · 3 comments
Closed

403 errors since the last Youtube breaking change #1043

EugeneLeclerc opened this issue Jul 12, 2024 · 3 comments
Labels

Comments

@EugeneLeclerc
Copy link
Contributor

What's happening?
The bot has been receiving 403 errors from Youtube for the last few days. This is a known issue at 'ytdl-core' but it has not been fixed yet: fent/node-ytdl-core#1299

One possible solution would be to switch to https://github.com/distubejs/ytdl-core, which is already patched and usually reacts faster to this kind of issue.

Temporary fix
In the mean time, if anyone want to fix their own Docker installation, you can add this to your Dockerfile:

# Temporary fix for the 403 errors
entrypoint: bash 
command: -c "npm install @distube/ytdl-core@latest && sed -i 's%ytdl-core%@distube/ytdl-core%g' src/services/player.ts && tini -- yarn start"```
@EugeneLeclerc
Copy link
Contributor Author

My bad, this is a duplicate of #1037

@EugeneLeclerc EugeneLeclerc closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
@solcabz
Copy link

solcabz commented Jul 16, 2024

hi tried to use the https://github.com/distubejs/ytdl-core, but still im getting a 403

@EugeneLeclerc
Copy link
Contributor Author

hi tried to use the https://github.com/distubejs/ytdl-core, but still im getting a 403

This issue is a duplicate of #1037 and is closed, dont comment here please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants