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.huya: check stream availability #5745

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

bastimeyer
Copy link
Member

Resolves #5744

$ streamlink -l debug 'https://www.huya.com/chuhe'
[cli][debug] OS:         Linux-6.6.8-1-git-x86_64-with-glibc2.38
[cli][debug] Python:     3.12.1
[cli][debug] OpenSSL:    OpenSSL 3.2.0 23 Nov 2023
[cli][debug] Streamlink: 6.5.0+6.g3696dc99
[cli][debug] Dependencies:
[cli][debug]  certifi: 2023.11.17
[cli][debug]  isodate: 0.6.1
[cli][debug]  lxml: 4.9.3
[cli][debug]  pycountry: 23.12.11
[cli][debug]  pycryptodome: 3.19.0
[cli][debug]  PySocks: 1.7.1
[cli][debug]  requests: 2.31.0
[cli][debug]  trio: 0.23.2
[cli][debug]  trio-websocket: 0.11.1
[cli][debug]  typing-extensions: 4.9.0
[cli][debug]  urllib3: 2.1.0
[cli][debug]  websocket-client: 1.7.0
[cli][debug] Arguments:
[cli][debug]  url=https://www.huya.com/chuhe
[cli][debug]  --loglevel=debug
[cli][debug]  --player=/usr/bin/mpv
[cli][info] Found matching plugin huya for URL https://www.huya.com/chuhe
[plugins.huya][debug] QUALITY_WEIGHTS: {'source_al': -1, 'source_tx': 45, 'source_hw': 50}
Available streams: source_al (worst), source_tx, source_hw (best)
$ streamlink -l debug 'https://www.huya.com/kpl'
[cli][debug] OS:         Linux-6.6.8-1-git-x86_64-with-glibc2.38
[cli][debug] Python:     3.12.1
[cli][debug] OpenSSL:    OpenSSL 3.2.0 23 Nov 2023
[cli][debug] Streamlink: 6.5.0+6.g3696dc99
[cli][debug] Dependencies:
[cli][debug]  certifi: 2023.11.17
[cli][debug]  isodate: 0.6.1
[cli][debug]  lxml: 4.9.3
[cli][debug]  pycountry: 23.12.11
[cli][debug]  pycryptodome: 3.19.0
[cli][debug]  PySocks: 1.7.1
[cli][debug]  requests: 2.31.0
[cli][debug]  trio: 0.23.2
[cli][debug]  trio-websocket: 0.11.1
[cli][debug]  typing-extensions: 4.9.0
[cli][debug]  urllib3: 2.1.0
[cli][debug]  websocket-client: 1.7.0
[cli][debug] Arguments:
[cli][debug]  url=https://www.huya.com/kpl
[cli][debug]  --loglevel=debug
[cli][debug]  --player=/usr/bin/mpv
[cli][info] Found matching plugin huya for URL https://www.huya.com/kpl
[plugins.huya][debug] QUALITY_WEIGHTS: {'source_al': 11, 'source_tx': 25, 'source_hw': 39, 'source_al13': 10, 'source_tx15': 15, 'source_hyzj': -1}
Available streams: source_hyzj (worst), source_al13, source_al, source_tx15, source_tx, source_hw (best)

@bastimeyer bastimeyer added the plugin issue A Plugin does not work correctly label Dec 30, 2023
@bastimeyer bastimeyer merged commit e5500c2 into streamlink:master Dec 30, 2023
21 checks passed
@bastimeyer bastimeyer deleted the plugins/huya/check-cdns branch December 30, 2023 11:55
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.huya: 403 Client Error: Forbidden for url
1 participant