Skip to main content
All CollectionsBeyond BasicsTackle Pagination
Dealing with pagination (clicking on a "Next" button)
Dealing with pagination (clicking on a "Next" button)
Updated over 7 months ago

This tutorial aims to provide guidance on effectively managing pagination using a "Next" button in Octoparse.

There are two approaches to implementing pagination with a "Next" button:

To follow through the tutorial, you may use the link below:


1) Set up with the auto-detect

  • Click the Auto-detect web page data on the Tips panel

9.png
  • Click the "Check" button to inspect which button is identified as a "Next" button

The button selected will be highlighted on the page.

10.png

If Octoparse fails to recognize the correct next page button, click "Edit" to select the next button manually.

__1.gif
  • Uncheck Add a page scroll (this example web page does not require page scroll) and click Create workflow in the Tips panel, and you will see a workflow with pagination created.

11.png
  • Click Pagination and Click to paginate to see whether Octoparse can move to the next page

If Octoparse can go to the next page, your pagination has been set up successfully.

__1.gif


2) Set up manually

You can always create the pagination manually if the auto-detection does not find the next page button.

  • Click the Next button, choose Loop click next page in the Tips panel

Tip: If there is no "Loop click next page" option, you can select the option "Loop click".

Please verify the functionality of pagination using the identical approach in method 1.

Did this answer your question?