diego-fmachado

Results 5 comments of diego-fmachado

This one might be occurring in Windows only, as I'm also using it. It is pretty straight forward, after you start the client, after some seconds, it crashes with this...

It might happen with any example code on this platform, I was using the client just to print the comments, while testing

I get a similar error sometimes when using client.disconnect(): ``` Exception in thread [ConnectionManager]Async-stop: Traceback (most recent call last): File "C:\Users\...\venvnew\Lib\site-packages\websockets\legacy\protocol.py", line 963, in transfer_data message = await self.read_message() ^^^^^^^^^^^^^^^^^^^^^^^^^...

I've solved this by supressing the exception in `connect_loop`, allowing the loop to open a new websocket connection

Try instantiating the client this way: `client = TikTokLiveClient(unique_id="@los.versus", web_kwargs={"params": {"room_id": "7357181668077833002"}})` Then, you can pass room_id to `client.start()` so it doesn't try to fetch it again.