Exploring the Task in the Web Interface
00:00 Compulsory first step, take a look at the site that you want to interact with in this case. So it looks like this. It’s a bare-bones site that has a username and password field, and I will go ahead and view the source page, okay, so you can see again the HTML that builds up this site.
00:17
And there’s a form in here until here that allows me to input username and password. And it’s got two input elements in there. One has the name user, the other one has the name pwd for password and text and password types.
00:34
And then you can submit that and let’s see what happens if you submit valid information here. So if I put in zeus and thunderdude
00:45 and submit, then it redirects me to the All Profiles page. Okay? And this is the flow that you want to mimic in your Python code now using MechanicalSoup.
00:56 So let’s head over to VS Code and get started by installing MechanicalSoup next.
Become a Member to join the conversation.
