Scrape data from a pop-up
FollowYou are browsing a tutorial guide for the latest Octoparse version. If you are running an older version of Octoparse, we strongly recommend you upgrade because it is faster, easier and more robust! Download and upgrade here if you haven't already done so!
Sometimes the data we want to scrape are displayed in a pop-up after clicking a button, and most of the time, these pop-ups are loading with AJAX. Unlike opening a new tab, we'll need to set up the steps to close the pop-up in the workflow. To help you understand it more clearly, here we'll use this URL to walk you through the process of scraping a pop-up:
https://www.ebay.de/usr/brandstown24?_trksid=p2047675.l2559
- Input the page URL on the home page and click Start
- Click on Impressum on the webpage
- Choose Click URL on the Tips panel to display the pop-up
You'll see a Click Item action is generated in the workflow automatically. The pop-up shown is exactly what we need.
- Select the proper AJAX timeout in the settings for the Click Item and click Apply
- Select the data we want to scrape from the pop-up one by one
- Click on the "X" icon, choose Click URL on the Tips panel and also set up the AJAX
Tip: You may not see Click URL option on the Tips panel after choosing the elements on the page. Click element or Click button works the same as it does.
If you need any help with task configuration or data collection, submit a ticket to our support team! We'll get back to you soon.
Author: Brian
Editor: Yina