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 forbidden on stream.chunk() #44

Closed
MalpenZibo opened this issue Sep 9, 2024 · 3 comments · Fixed by #46
Closed

Error 403 forbidden on stream.chunk() #44

MalpenZibo opened this issue Sep 9, 2024 · 3 comments · Fixed by #46

Comments

@MalpenZibo
Copy link

I still get error 403 with every video that I have tried. I'm already using the latest commit on the main branch.

I see that this commit d4798aa should have resolved the issue but in my case, the error persist.

@clytras
Copy link

clytras commented Sep 9, 2024

@MalpenZibo I've had a similar issue, but it was due to reqwest custom features and missing cookies feature.
There must be an issue with reqwest and its' features, but I can't dig more on it now.

@nick42d
Copy link
Contributor

nick42d commented Sep 11, 2024

Experiencing the same issue here.
ytdl-org/youtube-dl#32905 seems to shed some light on things.

@MalpenZibo I've had a similar issue, but it was due to reqwest custom features and missing cookies feature. There must be an issue with reqwest and its' features, but I can't dig more on it now.

Are you providing cookies to the client with that feature? If so, where do you get them from?

@clytras
Copy link

clytras commented Sep 12, 2024

Experiencing the same issue here. ytdl-org/youtube-dl#32905 seems to shed some light on things.

@MalpenZibo I've had a similar issue, but it was due to reqwest custom features and missing cookies feature. There must be an issue with reqwest and its' features, but I can't dig more on it now.

Are you providing cookies to the client with that feature? If so, where do you get them from?

No I don't. I assume that this uses default cookies internally and for it to work there must be a cookie jar to store default cookies. My issue was that when I was having reqwest on my app, it was not loading the cookies reqwest feature and for that reason I was getting 403 errors after downloading some chunks.

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

Successfully merging a pull request may close this issue.

3 participants