Replies: 2 comments 1 reply
|
As you can see, it tries to get the ssid and fails, I suspect it's because of captcha. It's been a while since I updated this repo, so I don't remember if it's because of captcha or because of cloudflare. |
0 replies
|
Btw If you could run the code in headful mode that would be nice, I assume you're doing it as headless |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The data is sent and the browser is authenticated and automatically closed
Traceback (most recent call last):
File "C:\Users\yode86\Desktop\bot\qxbroker\example\main.py", line 200, in
asyncio.run(main())
File "C:\Program Files\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\asyncio\runners.py", line 118, in run
return self.loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\yode86\Desktop\bot\qxbroker\example\main.py", line 194, in main
await trade_and_check_win()
File "C:\Users\yode86\Desktop\bot\qxbroker\example\main.py", line 89, in trade_and_check_win
check_connect = await client.connect()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yode86\AppData\Roaming\Python\Python312\site-packages\quotexpy_init.py", line 132, in connect
check = await self.api.connect()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yode86\AppData\Roaming\Python\Python312\site-packages\quotexpy\api.py", line 293, in connect
ssid, self.cookies = await self.get_ssid()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yode86\AppData\Roaming\Python\Python312\site-packages\quotexpy\api.py", line 221, in get_ssid
ssid, cookies = await self.login(self.email, self.password, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yode86\AppData\Roaming\Python\Python312\site-packages\quotexpy\http\login.py", line 25, in call
self.ssid, self.cookies = self.get_cookies_and_ssid()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yode86\AppData\Roaming\Python\Python312\site-packages\quotexpy\http\qxbroker.py", line 65, in get_cookies_and_ssid
dx: dict = json.loads(match)
^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\json_init_.py", line 346, in loads
return default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Exception ignored in: <function Chrome.del at 0x0000020C9EF4FB00>
Traceback (most recent call last):
File "C:\Users\yode86\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver_init.py", line 843, in del
File "C:\Users\yode86\AppData\Roaming\Python\Python312\site-packages\undetected_chromedriver_init.py", line 798, in quit
All reactions