Multiple Scrapable Files Followed By Script?
I've got a scraping session that runs A-OK, extracting multiple values from a single web page.
After the session runs, a script runs that does a series of out.writes using session.getVariables.
Now I have added a second scraping session - against a different web page.
The session populates the variable, no problem.
But I am unable to tell the script not to run until both scraping sessions have finished. I stumbled around and managed to get the script to run twice - once after each session - but that doesn't sound like the Good-Right-And-Holy-Path....
Am I on the wrong track? Should I be writing a separate script for each scraping session?
If not, how do I tell ScreenScraper to hold the script until both scraping sessions have run?
Or do I need to do it some other way?
>I would usually have the
>I would usually have the script run once after each session.
Thanks - that's what I will do (am doing, actually...)
Not trying to try to fool Mother Nature... just thought maybe I was doing something wrong.
I would usually have the
I would usually have the script run once after each session. There's an easy way to do that. I don't have an easy way to run after both, but it is possible if you're using an enterprise edition of screen-scraper and running in server mode so you can access the API.