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!

When you set a completed task to run locally or in the cloud, you may have data extracted to the wrong "columns" or not being extracted at all. This is likely due to incorrect XPath failing to locate the correct data and extract it.

Here's an example of data fetched to the incorrect data fields.

This is the data we need -


And this is the data output. Notice all the highlighted data is not being extracted correctly.


How to fix it?

To ensure that data will always be extracted correctly to the corresponding data fields, you need to write a new XPath that will always pinpoint the right data on all pages.

To do this, refer to our step-by-step tutorial on what is XPath and how to write one here: What is XPath and how to use it in Octoparse?

Once you have the new XPath, follow the steps below to update the XPath.

1. Click More next to the data field > Customize XPath


2. Replace the Matching XPath with the new one > Click Save to apply the change.

Did this answer your question?