Advertisement
easternnl

Visit all the links on a page

Feb 8th, 2016
3,377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Action()
  2. {
  3.    
  4.     int i = 0;
  5.     char value [200];
  6.  
  7.     web_add_cookie("_ga=GA1.2.1240646069.1449059959; DOMAIN=www.eastern.nl");
  8.  
  9.     web_reg_save_param("Project","LB=class=\"portfolio_more_button\"><a href=\"","RB=\" class=\"button\" target=\"_self\">","ORD=ALL", LAST);
  10.    
  11.     web_url("projecten",
  12.         "URL=http://www.eastern.nl/projecten/",
  13.         "Resource=0",
  14.         "RecContentType=text/html",
  15.         "Referer=",
  16.         "Snapshot=t1.inf",
  17.         "Mode=HTTP",
  18.         LAST);
  19.  
  20.      for( i=1; i< atoi(lr_eval_string("{Project_count}"));  i++)
  21.      {
  22.         // sprintf(status, "{statusA_%d}", i );
  23.         sprintf(value,"URL={Project_%d}",i);
  24.         lr_output_message("URL Found Value %d = %s ",i,lr_eval_string(value));
  25.        
  26.         web_url("projectenpage",
  27.         lr_eval_string(value),
  28.         "Resource=0",
  29.         "RecContentType=text/html",
  30.         "Referer=",
  31.         "Snapshot=t1.inf",
  32.         "Mode=HTTP",
  33.         LAST);
  34.      }
  35.  
  36.     return 0;
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement