Variables
Hi I am trying to collect data from two pages. I'm collecting different variables from each site and using a script to save them to the file however it seems that each time I scrape a new page the data from the first page is forgotten and it is written to my .txt file as "null".
I would like to be able to scrape two pages and write the data to a file once from each page.
For example:
I would like to collect the following "datarecord" from the first page:
title
price
then the second page collect the datarecord variables:
description
UPC
I have removed the "/n" from the "write to file" and made the script write to file after each page however I would like to only write to file once after the two pages in order to better consolidate the data.
P.S I am running the basic version on windows 7
Thanks, Ben
I would need to see your
I would need to see your write to file script, but I imagine that you're fetching your values from the dataRecord, and that's out of scope. Instead to into the token properties, and save as a session variable, and in the script use: