-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USER_AGENT doesn't seem to be taken in consideration in a class #33
Comments
Per my research, downgrading playwright to 1.37 which also required to downgrade greenlet and other requirements made it work for me on windows 10. Issue that I faced just pip installing I'm doing a work for someone that would prefer quotex as the exchange but this is such unreliable. I also tried this fork but it's very laggy spamming multiple trades and also sometimes it return LOSS when it's a WIN and vice-versa. I'm willing to make this work with you guys but we gotta make this more reliable considering the goal is to make real money trading. |
Also in my opinion it should not ask config just by importing Because importing it trigger the |
Is this not working for you ?
|
If you check my other replies you can see downgraded to python 3.11.5 and playwright to 1.37 did solved the issue for me. I forked the changes here I'll try your code on my original setup to see if it
|
Okay, keep us posted on that. |
running your code on a fresh venv with python 3.12.5 and using the pip install here return :
|
To fix : BUT, just importing |
Since that issue was opened, maybe Quotex changed the website because I get : |
|
Upon checking qxbroker.py from your package and setting headless to False, I can see I'm hitting Cloudflare (I do not in my usual browser) so I'm downgrading playwright per #28 |
Putting back headless False work :) |
I get :
File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\playwright\_impl\_connection.py", line 514, in wrap_api_call raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None playwright._impl._errors.Error: Page.evaluate: opts is not defined
Trying to initialize like this :
The text was updated successfully, but these errors were encountered: