I'm trying to get token but i have:
python3 get_token.py --ip 192.168.1.101 --port 8080
Traceback (most recent call last):
File "get_token.py", line 27, in
main(sys.argv[1:])
File "get_token.py", line 24, in main
PySmartCrypto(ip, port)
File "/home/gianni/Scrivania/samsung/custom_components/samsungtv_encrypted/PySmartCrypto/pysmartcrypto.py", line 123, in init
self._connection = self.connect()
File "/home/gianni/Scrivania/samsung/custom_components/samsungtv_encrypted/PySmartCrypto/pysmartcrypto.py", line 99, in connect
connection = websocket.create_connection(websocket_url)
AttributeError: module 'websocket' has no attribute 'create_connection'
I'm trying to get token but i have: python3 get_token.py --ip 192.168.1.101 --port 8080 Traceback (most recent call last): File "get_token.py", line 27, in
main(sys.argv[1:])
File "get_token.py", line 24, in main
PySmartCrypto(ip, port)
File "/home/gianni/Scrivania/samsung/custom_components/samsungtv_encrypted/PySmartCrypto/pysmartcrypto.py", line 123, in init
self._connection = self.connect()
File "/home/gianni/Scrivania/samsung/custom_components/samsungtv_encrypted/PySmartCrypto/pysmartcrypto.py", line 99, in connect
connection = websocket.create_connection(websocket_url)
AttributeError: module 'websocket' has no attribute 'create_connection'