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

plugins.kick: fix API queries #6020

Closed

Conversation

bastimeyer
Copy link
Member

Fixes #6018

@DCxDESIGN please check
https://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#pull-request-feedback

My guess is that the Authorization token is tied to some HTTP headers, and since the Accept-Language header is different from the request where the token was obtained, the API returned 403. But that's just my guess, so please check if this PR fixes the issue.


$ ./script/test-plugin-urls.py kick -r LIVE_CHANNEL xqc -r VIDEO_ID 8bc87173-22f7-493e-a6a8-1ef5d11be9fa -r CLIP_CHANNEL admiralbulldog -r CLIP_ID clip_01HSNHF69RPPR9JX0VQ6WM2YVC
:: Finding streams for URL: https://kick.com/admiralbulldog?clip=clip_01HSNHF69RPPR9JX0VQ6WM2YVC
:: Found streams: clip, worst, best
:: Finding streams for URL: https://kick.com/video/8bc87173-22f7-493e-a6a8-1ef5d11be9fa
:: Found streams: 160p, 360p, 480p, 720p60, 1080p60, worst, best
:: Finding streams for URL: https://kick.com/xqc
:: Found streams: 160p, 360p, 480p, 720p60, 1080p60, worst, best

@bastimeyer bastimeyer added the plugin issue A Plugin does not work correctly label Jun 4, 2024
@bastimeyer bastimeyer closed this Jun 4, 2024
@bastimeyer bastimeyer deleted the plugins/kick/fix-api-queries branch June 4, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin issue A Plugin does not work correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plugins.kick: 403 Client Error: Forbidden for url
1 participant