Here is some rough code that will accomplish this. You'll need to tweak the LB and RB in your code. This will produce a text file in the scripts subdirectory with a list of the URLs on the page.
Action()
{
int i;
int number;
long file;
char URL[300];
char filename[20];
char namestr[20];
web_reg_save_param(''URL'',''LB=href='''',''RB='''',''ORD=All'',LAST);
web_url(''dogpile.com'',
''URL=http://dogpile.com/'',
''Resource=0'',
''RecContentType=text/html'',
''Referer='',
''Snapshot=t1.inf'',
''Mode=HTML'',
EXTRARES,
LAST);
sprintf(filename,''%s'',''URL.txt'');
number=atoi(lr_eval_string(''{URL_count}''));
lr_output_message(''There are %d URL's captured'',number);
if ((file = fopen(filename, ''wb+'' )) == NULL)
{
lr_output_message(''Unable to create %s'', filename);
return -1;
}
for(i=1;i