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

Error 403 #11

Open
chenchuuu opened this issue Aug 14, 2023 · 5 comments
Open

Error 403 #11

chenchuuu opened this issue Aug 14, 2023 · 5 comments

Comments

@chenchuuu
Copy link

The bot can not play music because this error:

"failed to download due to error:
[download] Got error: HTTP Error 403: Forbidden"

@maxcutlyp
Copy link
Owner

Hey @chenchuuu,

I can't reproduce that error - could you check which version of yt_dlp you're running with pip show yt_dlp?

If you're on the latest version and still getting that error, send the link to the video you're trying to play and I'll take a look.

@chenchuuu
Copy link
Author

Hello, I've updated yt_dlp and it doesnt work yet. There is the video: https://youtu.be/2kkR-2KArtY

@maxcutlyp
Copy link
Owner

Hm, okay, I'm still not able to reproduce the issue on my end. What output do you get if you run python -m yt_dlp https://www.youtube.com/watch?v=-WevdSfpw-Q - does it download the video? Also, does it have the same issue with any video, or is it just that one video?

@chenchuuu
Copy link
Author

chenchuuu commented Sep 16, 2023

I got this output: https://imgur.com/a/ICpGfF5; it happens with any video.

@DubbaThony
Copy link
Contributor

DubbaThony commented Jan 15, 2024

I'm facing same issue. It seems youtube isn't willing to serve the content

Logs:

2024-01-15 21:32:58 INFO     discord.client logging in using static token
2024-01-15 21:32:59 INFO     discord.gateway Shard ID None has connected to Gateway (Session ID: 8[REDACTED]6e).
logged in successfully as PLC-DJ
[youtube] Extracting URL: https://www.youtube.com/watch?v=qzv-ySVqZXw
[youtube] qzv-ySVqZXw: Downloading webpage
[youtube] qzv-ySVqZXw: Downloading android player API JSON
[youtube] Extracting URL: https://www.youtube.com/watch?v=qzv-ySVqZXw
[youtube] qzv-ySVqZXw: Downloading webpage
[youtube] qzv-ySVqZXw: Downloading android player API JSON
[info] qzv-ySVqZXw: Downloading 1 format(s): 139
[dashsegments] Total fragments: 1
[download] Destination: ./dl/240776708167303168/qzv-ySVqZXw.m4a
[download] Got error: HTTP Error 403: Forbidden

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

No branches or pull requests

3 participants