Why do some list items get left out?
Octoparse detects items belonging to a list via their coding pattern in the underlying HTML source code.
When building a list , we usually start with selecting any 2 items from the list to define a coding pattern for Octoparse to refer to. In this case, if some list items are not included as we expect, then most probably they actually have a coding pattern different from the defined one.
How to tell Octoparse I need those items as well?
To have the omitted items being included, we can continue to select the items on the page to see if Octoparse could recognize the left ones. Once it fails to do that, we can create a loop with the selected items first, then modify the workflow to include all items. In Octoparse, this refers to modifying or rewriting the XPath expression auto-generated in its previous detection.
Where to input the new XPath expression?
Step 1. Select the Action Settings of the loop item from the workflow
Step 2. Check the Loop mode option
· If Variable list mode is on, go to Step 3
· If Fixed list mode is on, switch to Variable list mode
Step 3. Input the modified XPath expression into the textbox
Step 4. Click OK to save it.