Description: This passage is mainly about amazon hub login. In this passage, we can know how we can get data from Behind a Login using PI sub and the writer shows us how to scrape data behind a login page.
Welcome to this tutorial, I’m going to show you how you can get data from behind a login using PI sub, in the beginning, click on the new project button, when you first open parse up and enter the URL of the website that you would like to scrape data from, for example we’ll be using the zu casa website at www.att.com/biz URL, this website asks us if we would like to share our location with a site, this isn’t needed for our project, we can simply be out of this message.
There are three main areas on the par sub tool, on the left hand side is where you have your commands on your settings, in the center is where you have the interactive view of the website, at the very bottom is where you can preview data in either CSV or JSON, when parts upload is automatically in select mode, select mode allows us to interact with elements on the website.
You can also toggle this to browse mode, which allows you to click on the website as you will be on any other browsers, for our project we’ll be using select mode, so we can select elements on the page that we want to interact with by default, your project already contains an empty select comment.
However if it is not the case, you can always click on the plus sign next to web page and choose the Select command, the first thing that we’re going to do is to select the sign-in button that appears on the top right hand corner, the default name for the selection is selection one, however we can always change this to something more descriptive, such as sign-in button.
The action that we want to take on the sign-in button that we select is to click on it, therefore we’ll click on the plus sign next to select Mixtrack sign-in button, and we’ll choose a quick command, as you can see the click command automatically clicks on the sign-in button and brings up the pop ups, which allows us to log into the website.
There’s also a pop-up here that asks us what we want to do, once the element has been clicked on in this case, we would like to continue executing the current template, once the element has been clicked the reason for this is to go, there are more actions that we want to take on this same page, click on sale current template.
The actions that we want to take now are to input our email address password and click on the sign-in button, the first thing that we’ll do is to click on the plus sign which appears next to page and choose another select command, we can use this select command to click on the email field parts of which is automatically detected.
This is an input field and it adds an input command for us, we can now type in our email address into this input command, you’ll notice that as I check my email address, it automatically appears on the website as well, the selection has automatically been named selection one, however we can always double click on it and type in something more descriptive such as email.
We’re going to repeat the same actions for the password field, first click on the plus sign next to the select page, choose a select command and click on the password field, then type your password into the input command, the password will automatically appear on our password field on the website.
And once again we can rename our selection to something more descriptive such as password, we’re going to choose another select command from the plus sign next to the select page and use that the Selective sign-in button, which we can rename to sign-in button, because we want to click on this button.
We’ll click on the plus sign next to the select extract sign-in button and choose a quick command, you’ll notice that we have clicked on the phone, and we’re now signing into our account on the website, you can see this from the my account section on the top right hand corner of the website, we also have this pop-up to ask us what we want to do.
Once we click on the button, in this case we’re going to create a new template, we can name our template something such as post slogan, the reason that we’re creating a new template is because it’s more organized to have your login actions on one template, then any actions that you take after you log in another template is to click on create new templates parts.
Now we have created our new post login template with an empty select command from here, there are a lot of different actions that we can do, we can click on any of the menu items, go to our account or search for a location, the actions on your post login template will depend on what goals you have in mind.
For your parcel project, you’ll find plenty of other tutorials on our Help Center, you can always contact us at help our sub com with any questions that you have about your own project, happy parsing.