ichuixue

Results 5 comments of ichuixue

@ading2210 You can use `js2py` instead of `quickjs`. `js2py` works fine for Python 3.11 ``` import js2py def extract_formkey(self, html): script_regex = r'(.+?)' script_text = "window = {};" script_text +=...

Here is a workaround. In the poe.py file, change `import tls_client as requests_tls` to `import request as requests_tls`

Same problem. You may comment out the following lines in `poe.py`: ``` timer = 0 while None in self.active_messages.values(): time.sleep(0.01) timer += 0.01 if timer > timeout: raise RuntimeError("Timed out...

Change `def connect_ws(self, timeout=5)` in poe.py to `def connect_ws(self, timeout=10)`. You can use `http://` for proxy.

Same problem I have encountered. One possibility is the websocket was disconnected abnormally after a random time while the Poe program still thought the websocket to be connected. My workaround...