Skip to content

plugins.twitch: query hosted channels on GQL #3776

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

Merged

Conversation

bastimeyer
Copy link
Member

Fixes hosted channel redirection

master

$ streamlink -l debug twitch.tv/sheevergaming
[cli][debug] OS:         Linux-5.12.9-1-git-x86_64-with-glibc2.33
[cli][debug] Python:     3.9.5
[cli][debug] Streamlink: 2.1.2+16.g1ed85fc
[cli][debug] Requests(2.25.0), Socks(1.7.1), Websocket(0.58.0)
[cli][debug] Arguments:
[cli][debug]  url=twitch.tv/sheevergaming
[cli][debug]  --loglevel=debug
[cli][debug]  --player=mpv
[cli][info] Found matching plugin twitch for URL twitch.tv/sheevergaming
[plugins.twitch][debug] Getting live HLS streams for sheevergaming
[utils.l10n][debug] Language code: en_US
error: No playable streams found on this URL: twitch.tv/sheevergaming

changes

$ streamlink -l debug twitch.tv/sheevergaming
[cli][debug] OS:         Linux-5.12.9-1-git-x86_64-with-glibc2.33
[cli][debug] Python:     3.9.5
[cli][debug] Streamlink: 2.1.2+17.gab8ad41
[cli][debug] Requests(2.25.0), Socks(1.7.1), Websocket(0.58.0)
[cli][debug] Arguments:
[cli][debug]  url=twitch.tv/sheevergaming
[cli][debug]  --loglevel=debug
[cli][debug]  --player=mpv
[cli][info] Found matching plugin twitch for URL twitch.tv/sheevergaming
[plugins.twitch][info] sheevergaming is hosting weplaydota
[plugins.twitch][info] switching to weplaydota
[plugins.twitch][debug] Getting live HLS streams for weplaydota
[utils.l10n][debug] Language code: en_US
Available streams: audio_only, 160p (worst), 360p, 480p, 720p, 720p60, 1080p60 (best)

@bastimeyer bastimeyer added the plugin issue A Plugin does not work correctly label Jun 4, 2021
@bastimeyer bastimeyer merged commit d9316cf into streamlink:master Jun 5, 2021
@bastimeyer bastimeyer deleted the plugins/twitch/gql-hosted-channels branch June 5, 2021 10:00
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.

1 participant