We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not sure if I'm login correctly or if login screem has changed in recent updates.
When running
from ogame import OGame UNI = "Servername" USER = "[email protected]" PASS = "MyPass1234" empire = OGame(UNI, USER, PASS)
I get
--------------------------------------------------------------------------- AssertionError Traceback (most recent call last) [<ipython-input-7-f369015110c4>](https://localhost:8080/#) in <cell line: 9>() 7 8 ----> 9 empire = OGame(UNI, USER, PASS, language="en") 10 empire [/usr/local/lib/python3.10/dist-packages/ogame/__init__.py](https://localhost:8080/#) in __init__(self, universe, username, password, token, user_agent, proxy, language, server_number) 39 40 if token is None: ---> 41 self.login() 42 else: 43 self.session.headers.update( [/usr/local/lib/python3.10/dist-packages/ogame/__init__.py](https://localhost:8080/#) in login(self) 123 return True 124 assert response.status_code != 409, 'Resolve the Captcha' --> 125 assert response.status_code == 201, 'Bad Login' 126 self.token = response.json()['token'] 127 self.session.headers.update( AssertionError: Bad Login
When I login manually, sometimes I need to complete this captcha:
Is this the reason for the "Bad Login" error? Any way around it?
PD: I'm running this on a colab notebook, in an attempt fo hide my ip.
The text was updated successfully, but these errors were encountered:
I also have the same problem
Sorry, something went wrong.
I have the same problem.
No branches or pull requests
Not sure if I'm login correctly or if login screem has changed in recent updates.
When running
I get
When I login manually, sometimes I need to complete this captcha:
Is this the reason for the "Bad Login" error? Any way around it?
PD: I'm running this on a colab notebook, in an attempt fo hide my ip.
The text was updated successfully, but these errors were encountered: