Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import get
- import websocket
- if __name__ == '__main__':
- ws = websocket.WebSocketApp("wss://ws18.golos.io/",
- on_message=get.on_message,
- on_error=get.on_error,
- on_close=get.on_close)
- ws.on_open = get.on_open
- ws.run_forever()
Advertisement
Add Comment
Please, Sign In to add comment