I did the same code but with facebook.com/login and it worked fine. I'm guessing it has something to do with the username input code part? Cause on facebook the input name/id are the same its: "email"
But the website im trying to put the input in they are different and the name has [login] inside the code...
This is the html part on the website:
I tried this:
form['user[login]'] = 'myuser'
form['user_login'] = 'myuser'
And neither are working. Maybe the problem is that the input name "user[login]" doesn't work because it has [ ] in it? Idk. I'm new to python would that be the problem?
Is there any other way to log into a site? Without using RoboBrowser?
But the website im trying to put the input in they are different and the name has [login] inside the code...
This is the html part on the website:
<input class="form-control string required a-input db w-100 f16 ph3 ba bg-light-primary text br1 outline-0 bg-input input-reset mb3 pv08 lh-normal" type="text" autocomplete="on" autocapitalize="off" autocorrect="off" autofocus="autofocus" placeholder="Nickname or Email" name="user[login]" id="user_login">see how to name="user[login]" has [login] in it? Is that the problem?
I tried this:
form['user[login]'] = 'myuser'
form['user_login'] = 'myuser'
And neither are working. Maybe the problem is that the input name "user[login]" doesn't work because it has [ ] in it? Idk. I'm new to python would that be the problem?
Is there any other way to log into a site? Without using RoboBrowser?