bastimeyer · GitHub

- bump websocket-client requirement to >=1.2.1,<2.0
- avoid circular import by importing HTTPSession in session directly
- implement a common WebsocketClient based on the WebSocketApp API of
  websocket-client, so that plugins don't have to re-implement basic
  boilerplate code
- automatically apply User-Agent header
- automatically apply proxy settings
- set websocket log level (globally)
- add tests

@back-to

@bastimeyer

This was referenced

Nov 6, 2021

Merged

Merged

Open

Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request

Nov 9, 2021
- avoid circular import by importing HTTPSession in session directly
- implement a common WebsocketClient based on the WebSocketApp API of
  websocket-client, so that plugins don't have to re-implement basic
  boilerplate code
- automatically apply User-Agent header
- automatically apply proxy settings
- set websocket log level (globally)
- add tests
Update websocket.py

Read the original on github.com ↗