How to fill and submit form using python ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to fill and submit form using python ?

I am unable to locate form which I want to fill and update because their is no name attribute set to that form how to solve this problem? full explanation is here guys 👇 https://stackoverflow.com/questions/64570190/how-to-fill-and-submit-a-form-using-JUMP_LINK__&&__python__&&__JUMP_LINK

28th Oct 2020, 3:10 PM
Ratnapal Shende
Ratnapal Shende - avatar
2 Answers
+ 5
See how you can do it. I looked at the source code of the site and saw that the form is submitted using JavaScript, not HTML. I have recreated the same functionality using Python. Here's a sample code: "https://code.sololearn.com/ckZ67oIaUiG9/?ref=app" (copy yourself, I'll delete it soon). But there was a problem. The data comes encrypted. The solution here: "https://stackoverflow.com/questions/49584929/unable-to-decode-python-web-request" but I can't install this module. Try it and good luck ;)
29th Oct 2020, 6:08 PM
Professional Anonyme
Professional Anonyme - avatar
+ 1
Professional Anonyme Thank you so much sir! I don't have words to thank you love you a lot....! Thank you so much! Really Grateful of you...!
30th Oct 2020, 7:36 AM
Ratnapal Shende
Ratnapal Shende - avatar