Open knkrth opened 4 months ago
Removing this line fix the problem py5paisa/py5paisa.py#L531
@5paisa I left it open so that it can be fixed.
After making that change, Logged in > Steaming started Message comes But the data is not being recd
Replace below 3 lines from py5paisa/py5paisa.py#L531, py5paisa/py5paisa.py#L531 and py5paisa/py5paisa.py#L531
# if self.WEBSOCKET_URL == '':
# self.WEBSOCKET_URL=self.decode_token(self.Jwt_token)
self.web_url = f'wss://openfeed.5paisa.com/Feeds/api/chat?Value1={self.Jwt_token}|{self.client_code}'
Or refer below image. Change from to
It should work.
Thanks man helped a lot i have forked it fixing this again thanks a lot (´˘ -˘ 人).
When I try to subscribe to a token feed using,
I get the following errors,
08:54:33 | 'FivePaisaClient' object has no attribute 'WEBSOCKET_URL'
08:54:33 | 'NoneType' object has no attribute 'on_message'
I'm using
Python 3.11.2