undefined

Q: How to add a fixed value when scraping in Octoparse?

The updated version of this tutorial (based on the latest webpage) is available now. Go to have a check here! 

 

Description:

How to add a fixed value as one of the data fields when making a scraping task in Octoparse?

  

A:

The simplest method:

You can add a fixed value when you are in the "Extract Data" action:

1. Click the "Add Pre-defined Fields".

 

2. Choose the “Add a fixed value field” ➜ Enter the value you want ➜ Click "Add".

 

3. The fixed value will be added in the Define Fields. You can rename the data field.

 

Another method:

 

You can add a fixed value when you are in the "Extract Data" action:

1. Click anywhere (for example, the blank place) on the web page  ➜ Choose "Extract text", and a data field will be generated automatically  Click "Save".

 

 2. Select the “Customize Field” button ➜ Choose “Define data extracted” ➜ Choose "Use a fixed value" under the "Extract additional values" option. ➜ Enter the value in the textbox (The value you entered will be shown in the Sample Value box.) ➜ Click "OK" ➜ Click "Save".

Then you will see the value of the data field has been added. You can rename the data field if you'd like.

 

 

 

 

btnImg
Diese Website verwendet Cookies um Ihnen ein besseres Internet-Erlebnis zu ermöglichen. Lesen Sie wie wir Cookies verwenden und Sie können sie kontrollieren, indem Sie auf Cookie-Einstellungen klicken. Wenn Sie die Website weiter nutzen, akzeptieren Sie unsere Verwendung von Cookies.
Akzeptieren Ablehnen