jmcarp / guardrail

https://guardrail.readthedocs.org/
MIT License
50 stars 3 forks source link

Help me to fill a form in Khan Academy using Robobrowser #1

Open TiagoGuilhon opened 9 years ago

TiagoGuilhon commented 9 years ago

My script is doesnt work :(

I need to register more than 1k students, it will be so good if i have a program like this

Can this form be submitted with robobrowser?

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' from robobrowser import RoboBrowser

browser = RoboBrowser(history=True) browser.open('https://pt.khanacademy.org/login') form = browser.get_form(id='login-form') form form['identifier'].value = 'testekhanfl' form['password'].value = 'senhadokhan' browser.submit_form(form) browser

robertlagrant commented 7 years ago

@TiagoGuilhon what on earth are you doing that for in the first place? That's really, really bad.

And why are you opening it as an issue for this library? Please close this and open a question on Stackoverflow, where you'll probably be told you are trying to do something really, really bad.