Some websites can be logged in via a pop-up on the page. In this tutorial, I'll show you how to tell ParseHub to log in to these sites so that you can scrape private data.
You can follow along in a new project on https://www.espn.com/mlb/schedule
1. Click on the plus button to the right of the Select page command. Add a Select command.
2. Click on the "Sign in" button to select it.
3. Click the plus button to the right of the Select command and add a Click command.
4. In the pop-up that appears, select "No" when asked if this is a "next page" button and make sure to Continue executing the current template. Click on the green button to add the command. This will bring up the log-in pop-up.
5. Click on the plus button to the right of the Select page command. Add a new Select command.
6. Click on the email field to select it.
7. A new Input command will automatically appear. ParseHub recognizes when you are selecting a text box and will create this command for you. Type your email address into the Input command.
8. Click on the plus button to the right of the Select page command. Add a new Select command.
9. Click on the password field to select it.
10. Type your password into the Input command that automatically appears. Note that the password will be visible on the app to you or anyone else that is able to view your account.
11. Click on the plus button to the right of the Select page command. Add a new Select command.
12. Click on the "Sign In" button to select it.
13. Click on the plus button to the right of the Select command and add a Click command.
14. In the pop-up that appears, select "No" again when asked if this is a "next page" button and make sure to Create a New Template. In the "template name" text box type in a name such as post_login and click on the green button.
A new page will open up for you, and ParseHub will log you into the website you are trying to access. You can now scrape the data on these later pages by adding commands to the post_login template.