dataRecord

Variable Scope

Variable Scope

Prepare For Output--Strip non-numbers

Prepare For Output--Strip non-numerical values from numbers

This is a simple script used from removing all non-numerical characters from numbers. This is particularly useful when attempting to normalize data before insertion into a database.

scrape files with 2 / 3 parameters in url

Hi,
i have problems scraping files from with url containing 2/3 (two/three) different parameters :
url examples :

test.com/test.php?page=1&cat=hotels&country=IP.html
test.com/test.php?page=2&cat=hotels&country=HS.html
test.com/test.php?page=1&cat=hotels&country=DF.html

- one is the page number, and ok, i use the ~#PAGE#~ variable in loop script with scrape url like

test.com/test.php?page=~#PAGE#~&cat=hotels&country=DF.html with loop code

for( int i = 0; i < 32; i++ )
{session.setVariable( "PAGE", String.valueOf(i) );

DataRecords

this is a page about datarecords

Syndicate content