undefined

Q: How to get current date/time 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 the current time as one of my data fields when Octoparse is scraping the task?

  

A:

The simplest method:

You can add the current date/time when you are in the "Extract Data" action:

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

 

2. Choose the “Add the current time”.

 

 

3. The current date/time will be added automatically in the Define Fields. You can rename the data field.

 

 

 

Another method:

You can add the current date/time 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 extraction date and time" under the "Extract additional values" option. ➜ Click "OK" ➜ Click "Save". Then you will see the current date/time has been added as a data field. You can rename the data field if you'd like.

 

 

 

We use cookies to enhance your browsing experience. Read about how we use cookies and how you can control them by clicking cookie settings. If you continue to use this site, you consent to our use of cookies.
Accept decline