You 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

5675654654654.jpg
  • Click on Impressum on the webpage

56756.jpg
  • Choose Click URL on the Tips panel to display the pop-up

8800.png

You'll see a Click Item action is generated in the workflow automatically. The pop-up shown is exactly what we need.

088080888.png
  • Select the proper AJAX timeout in the settings for the Click Item and click Apply

1999.png
  • Select the data we want to scrape from the pop-up one by one

1777.gif
  • Click on the "X" icon, and choose Click URL on the Tips panel.

7744.png
  • Set up the AJAX timeout

9877.png

Tip: You may not see Click URL option in the Tips panel after choosing the elements on the page. In this situation, selecting Click element or Click button works the same as it does.

Did this answer your question?