repeated calls via php
Using loop in PHP to hit SS in server mode.
There are around 500 search terms I am looking for in the site.
Wondering if it is better to initialize the scrape session before the loop, or open/scrape/close session for each search term?
Thank you!!!
-Keith
repeated calls via php
Hi Keith,
The best approach for this kind of thing is likely the one we exemplify in our seventh tutorial:
http://www.screen-scraper.com/support/tutorials/tutorial7/tutorial_overview.php
There may be reasons you won't want to do this, however (e.g., you might want to run multiple sessions in parallel). If such is the case, you'll need to open, scrape, then close each session. They'll need to be completely distinct in order to work properly.
Kind regards,
Todd Wilson