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

[v1-legacy] Use WEB client, add 403 retry (Fix "Video returned by Youtube is not what was requested") #87

Closed
wants to merge 1 commit into from

Conversation

devoxin
Copy link
Member

@devoxin devoxin commented Mar 30, 2024

Should fix lavalink-devs/Lavalink#1030 by switching from ANDROID client to WEB.

To minimize the chances of encountering a 403 due to the odd invalid cipher resolving, I've implemented a basic 403 retry mechanism that will aim to fetch a new stream URL up to 3 times before throwing.

@devoxin devoxin mentioned this pull request Mar 30, 2024
@devoxin devoxin changed the title [v1-legacy] Use WEB client and add 403 retry mechanism [v1-legacy] Use WEB client, add 403 retry (Fix "Video returned by Youtube is not what was requested") Apr 4, 2024
@devoxin
Copy link
Member Author

devoxin commented Apr 22, 2024

See #88

@devoxin devoxin closed this Apr 22, 2024
@lavalink-devs lavalink-devs locked as resolved and limited conversation to collaborators Apr 22, 2024
@devoxin devoxin deleted the v1-use-web-client branch May 18, 2024 20:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant