All Collections
FAQ
Data fetched to the incorrect data fields?
Data fetched to the incorrect data fields?
Updated over a week ago

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 -

2022-06-15_11-34-16.jpg

This is the data output. Note that all the highlighted data is not being extracted correctly.

2022-06-15_11-47-03.jpg

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

2022-06-15_11-41-02.jpg

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

2022-06-15_11-42-10.jpg
Did this answer your question?